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

From: Kuniyuki Iwashima
Date: Thu Feb 20 2025 - 23:17:51 EST


From: Xiao Liang <shaw.leon@xxxxxxxxx>
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@xxxxxxxxx>

Reviewed-by: Kuniyuki Iwashima <kuniyu@xxxxxxxxxx>