From: Kirill Tkhai Date: Mon, 26 Feb 2018 13:02:11 +0000 (+0300) Subject: net: Convert ip6_tnl_net_ops X-Git-Tag: v4.19~1326^2~354^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66997ba0834ac1b3f22873d349614405e48c69d7;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c index 4b15fe9..869e2e6 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, }; /**