]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
net: ip6_tunnel: Unregister catch-all devices
authorHristo Venev <hristo@venev.name>
Mon, 12 Apr 2021 17:41:17 +0000 (20:41 +0300)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 7 May 2021 07:54:01 +0000 (09:54 +0200)
commit69dd70f38ac620604daaa259535638a41fe628bc
tree7ec07d682dcce90fabd11346c9cd4d9efcc00abf
parentbf4dbea0d12d2b393a474ded1276cc464df6d09c
net: ip6_tunnel: Unregister catch-all devices

BugLink: https://bugs.launchpad.net/bugs/1926999
commit 941ea91e87a6e879ed82dad4949f6234f2702bec upstream.

Similarly to the sit case, we need to remove the tunnels with no
addresses that have been moved to another network namespace.

Fixes: 0bd8762824e73 ("ip6tnl: add x-netns support")
Signed-off-by: Hristo Venev <hristo@venev.name>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
net/ipv6/ip6_tunnel.c