14 Jan
2025
14 Jan
'25
2:39 a.m.
From: Xiao Liang <shaw.leon@gmail.com> Date: Mon, 13 Jan 2025 22:37:09 +0800
When creating link, lookup for existing device in target net namespace instead of current one. For example, two links created by:
# ip link add dummy1 type dummy # ip link add netns ns1 dummy1 type dummy
should have no conflict since they are in different namespaces.
Signed-off-by: Xiao Liang <shaw.leon@gmail.com>
Reviewed-by: Kuniyuki Iwashima <kuniyu@amazon.com>