[PATCH net-next v10 11/13] rtnetlink: Create link directly in target net namespace

Kuniyuki Iwashima kuniyu at amazon.com
Fri Feb 21 04:17:02 UTC 2025


From: Xiao Liang <shaw.leon at gmail.com>
Date: Wed, 19 Feb 2025 20:50:37 +0800
> Make rtnl_newlink_create() create device in target namespace directly.
> Avoid extra netns change when link netns is provided.
> 
> Device drivers has been converted to be aware of link netns, that is not
> assuming device netns is and link netns is the same when ops->newlink()
> is called.
> 
> 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