Re: [PATCH net-next v2 5/8] net: ip_gre: Add netns_atomic module parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Nov 7, 2024 at 9:37 PM Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
>
> On Thu, Nov 7, 2024 at 2:30 PM Xiao Liang <shaw.leon@xxxxxxxxx> 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?





[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux