Re: [PATCH net-next v8 01/11] rtnetlink: Lookup device in target netns when creating link
Kuniyuki Iwashima <[email protected]>
| Newsgroups | gmane.linux.network.bridge,gmane.org.freifunk.batman,gmane.linux.kernel.bpf,gmane.linux.can,gmane.linux.kernel,gmane.linux.ppp,gmane.linux.drivers.rdma,gmane.linux.kernel.wireless.general,gmane.linux.network,gmane.network.wireguard |
|---|---|
| Message-ID | <[email protected]> |
From: Xiao Liang <[email protected]> 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 <[email protected]> Reviewed-by: Kuniyuki Iwashima <[email protected]>