提交 66997ba0 编写于 作者: K Kirill Tkhai 提交者: David S. Miller

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: NKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 5c155c50
...@@ -2250,6 +2250,7 @@ static struct pernet_operations ip6_tnl_net_ops = { ...@@ -2250,6 +2250,7 @@ static struct pernet_operations ip6_tnl_net_ops = {
.exit_batch = ip6_tnl_exit_batch_net, .exit_batch = ip6_tnl_exit_batch_net,
.id = &ip6_tnl_net_id, .id = &ip6_tnl_net_id,
.size = sizeof(struct ip6_tnl_net), .size = sizeof(struct ip6_tnl_net),
.async = true,
}; };
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册