summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 16:02:11 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:38 -0500
commit66997ba0834ac1b3f22873d349614405e48c69d7 (patch)
treef0961bd87695c4fba5406c4052b11b7637bb3b94
parent5c155c50244a0c6e1a7778ae7b4d2753e5e1f617 (diff)
downloadlinux-stable-66997ba0834ac1b3f22873d349614405e48c69d7.tar.gz
linux-stable-66997ba0834ac1b3f22873d349614405e48c69d7.tar.bz2
linux-stable-66997ba0834ac1b3f22873d349614405e48c69d7.zip
net: Convert ip6_tnl_net_ops
These pernet_operations are similar to ip6gre_net_ops. Exit method unregisters all net ip6_tnl tunnels, and it looks like another pernet_operations are not interested in foreign net tunnels list. So, it's possible to mark them async. Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/ipv6/ip6_tunnel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
index 4b15fe928278..869e2e6750f7 100644
--- a/net/ipv6/ip6_tunnel.c
+++ b/net/ipv6/ip6_tunnel.c
@@ -2250,6 +2250,7 @@ static struct pernet_operations ip6_tnl_net_ops = {
.exit_batch = ip6_tnl_exit_batch_net,
.id = &ip6_tnl_net_id,
.size = sizeof(struct ip6_tnl_net),
+ .async = true,
};
/**