[PATCH net-next v10 08/13] net: ipv6: Use link netns in newlink() of rtnl_link_ops
Kuniyuki Iwashima
kuniyu at amazon.com
Fri Feb 21 04:09:23 UTC 2025
From: Xiao Liang <shaw.leon at gmail.com>
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 <shaw.leon at gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu at amazon.com>
More information about the WireGuard
mailing list