瀏覽代碼

net: Convert defrag6_net_ops

These pernet_operations only unregister nf hooks.
So, they are able to be marked as async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Kirill Tkhai 7 年之前
父節點
當前提交
9532ce17f7
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/ipv6/netfilter/nf_defrag_ipv6_hooks.c

+ 1 - 0
net/ipv6/netfilter/nf_defrag_ipv6_hooks.c

@@ -103,6 +103,7 @@ static void __net_exit defrag6_net_exit(struct net *net)
 
 
 static struct pernet_operations defrag6_net_ops = {
 static struct pernet_operations defrag6_net_ops = {
 	.exit = defrag6_net_exit,
 	.exit = defrag6_net_exit,
+	.async = true,
 };
 };
 
 
 static int __init nf_defrag_init(void)
 static int __init nf_defrag_init(void)