]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit38e01b30563a5b5ade7b54e5d739d16a2b02fe82
tree4c8fa3f46034244bb2e5eaa7cc1258b0ae427c68
parentc36ac8e2307334c83e8bf81ed361f0e4959d995f
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