# Re: \[PATCH net-next v2 5/8\] net: ip\_gre: Add netns\_atomic module parameter

- From: Xiao Liang \<hidden\>
- Date: 2024-11-07 14:12:00 
- List: netdev
- Page: https://ratatoskr.run/netdev/2024/11/11310705
- Thread: https://ratatoskr.run/netdev/2024/11/11310690/t.md

```text
On Thu, Nov 7, 2024 at 9:37 PM Eric Dumazet [ref] wrote:
>
> On Thu, Nov 7, 2024 at 2:30 PM Xiao Liang [ref] wrote:
> >
> > If set to true, create device in target netns (when different from
> > link-netns) without netns change, and use current netns as link-netns
> > if not specified explicitly.
> >
>
> Sorry, module parameters are not going to fly.

Sorry, I didn't know that.

> Instead, add new rtnetlink attributes ?

It is to control driver behavior at rtnl_ops registration time. I
think rtnetlink
attributes are too late for that, maybe? Can't think of a way other than
module parameters or register separate ops. Any suggestions?
```
