net: Convert clusterip_net_ops
authorKirill Tkhai <ktkhai@virtuozzo.com>
Mon, 26 Feb 2018 13:03:05 +0000 (16:03 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Feb 2018 16:01:39 +0000 (11:01 -0500)
These pernet_operations register and unregister nf hooks,
and populate and destroy /proc entry. 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>
net/ipv4/netfilter/ipt_CLUSTERIP.c

index 4b02ab3..08b3e48 100644 (file)
@@ -840,6 +840,7 @@ static struct pernet_operations clusterip_net_ops = {
        .exit = clusterip_net_exit,
        .id   = &clusterip_net_id,
        .size = sizeof(struct clusterip_net),
+       .async = true,
 };
 
 static int __init clusterip_tg_init(void)