OSDN Git Service

net: Convet ipv6_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Wed, 7 Mar 2018 09:41:23 +0000 (12:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2018 17:36:45 +0000 (12:36 -0500)
These pernet_operations are similar to ipv4_net_ops.
They are safe to be async.

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/netfilter/nf_conntrack_l3proto_ipv6.c

index 663827e..ba54bb3 100644 (file)
@@ -401,6 +401,7 @@ static struct pernet_operations ipv6_net_ops = {
        .exit = ipv6_net_exit,
        .id = &conntrack6_net_id,
        .size = sizeof(struct conntrack6_net),
+       .async = true,
 };
 
 static int __init nf_conntrack_l3proto_ipv6_init(void)