net: ip6_tunnel: Unregister catch-all devices
authorHristo Venev <hristo@venev.name>
Mon, 12 Apr 2021 17:41:17 +0000 (20:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2021 21:31:52 +0000 (14:31 -0700)
commit941ea91e87a6e879ed82dad4949f6234f2702bec
treeaf104bd38ed916d57ef820e71d9f3e8873539a9b
parent610f8c0fc8d46e0933955ce13af3d64484a4630a
net: ip6_tunnel: Unregister catch-all devices

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>
net/ipv6/ip6_tunnel.c