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

From
Jakub Kicinski <kuba@kernel.org>
Date
2024-11-07 15:59:45
Also in
linux-kselftest
Reply to
Xiao Liang, 2024-11-07
On Thu, 7 Nov 2024 22:11:24 +0800 Xiao Liang wrote:
quoted
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?
Step back from the implementation you have a little, forget that there
is a boolean in rtnl_link_ops. User makes a request to spawn an
interface, surely a flag inside that request can dictate how the netns
attrs are interpreted.
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