]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
dev: advertise the new ifindex when the netns iface changes
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Fri, 22 Jun 2018 17:49:00 +0000 (19:49 +0200)
committerStefan Bader <stefan.bader@canonical.com>
Tue, 14 Aug 2018 10:30:43 +0000 (12:30 +0200)
commit2177db43265afb2b967354686469c19be260a276
tree894f9f5d8142fbc2dbad2862260d3334c3435b78
parent8b18253fa8790509fd4ef3979d160fdc491c5554
dev: advertise the new ifindex when the netns iface changes

BugLink: http://bugs.launchpad.net/bugs/1774225
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>
(cherry picked from commit 38e01b30563a5b5ade7b54e5d739d16a2b02fe82)
Signed-off-by: Joseph Salisbury <joseph.salisbury@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
include/linux/rtnetlink.h
include/uapi/linux/if_link.h
net/core/dev.c
net/core/rtnetlink.c