]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
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 663827ee3cf8e004e9acc70a2c3d5ccbb8f643cb..ba54bb3bd1e4462632f7542df707477e7c40c9b7 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)