]> git.ipfire.org Git - thirdparty/iproute2.git/commit
iplink: enable to specify index when changing netns
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Tue, 12 Oct 2021 09:34:05 +0000 (11:34 +0200)
committerDavid Ahern <dsahern@kernel.org>
Sat, 16 Oct 2021 00:05:09 +0000 (18:05 -0600)
commit95cd2a620403a653138ced7abd2a419a5b47cc2c
treeea8de6cd9e4064e84e87add5aada4b4bf3f756dd
parenta936a73fc28bae64fb2c1260982f276760008bc2
iplink: enable to specify index when changing netns

When an interface is moved to another netns, it's possible to specify a
new ifindex. Let's add this support.

Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eeb85a14ee34
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
ip/iplink.c