]> git.baikalelectronics.ru Git - kernel.git/commit
dev: advertise the new ifindex when the netns iface changes
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 25 Jan 2018 14:01:39 +0000 (15:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jan 2018 17:23:52 +0000 (12:23 -0500)
commit5fff54afa610e5946507fdc39684ffacfb879909
tree4c8fa3f46034244bb2e5eaa7cc1258b0ae427c68
parent7ac0c18a6e39648b184a97b560cf5c89ac0a9ebe
dev: advertise the new ifindex when the netns iface changes

The goal is to let the user follow an interface that moves to another
netns.

CC: Jiri Benc <jbenc@redhat.com>
CC: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
include/uapi/linux/if_link.h
net/core/dev.c
net/core/rtnetlink.c