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
Also in
linux-kselftest
Reply to
Eric Dumazet, 2024-11-07
On Thu, Nov 7, 2024 at 9:37 PM Eric Dumazet [off-list ref] wrote:
On Thu, Nov 7, 2024 at 2:30 PM Xiao Liang [off-list ref] wrote:
quoted
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?
Thread (26 messages) 26 messages, 4 authors, last reply 2024-11-12
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help