Re: [PATCH net-next v10 08/13] net: ipv6: Use link netns in newlink() of rtnl_link_ops

From
Kuniyuki Iwashima <hidden>
Date
2025-02-21 04:09:21
Also in
batman, bpf, bridge, linux-can, linux-kselftest, linux-rdma, linux-wireless, lkml
Reply to
Xiao Liang, 2025-02-19
From: Xiao Liang <redacted>
Date: Wed, 19 Feb 2025 20:50:34 +0800
When link_net is set, use it as link netns instead of dev_net(). This
prepares for rtnetlink core to create device in target netns directly,
in which case the two namespaces may be different.

Signed-off-by: Xiao Liang <redacted>
Reviewed-by: Kuniyuki Iwashima <redacted>
Thread (25 messages) 25 messages, 4 authors, last reply 2025-02-21
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