aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Tkhai <[email protected]>2018-02-26 16:03:05 +0300
committerDavid S. Miller <[email protected]>2018-02-27 11:01:39 -0500
commitf95978b7ad0972610b14c65f13f69b3093ff9101 (patch)
tree977f77b1dd47ae38c727eadd85e1e73fa30b4ec8
parent7ca9e67febb1441baa0481fbd46745288338afe6 (diff)
net: Convert clusterip_net_ops
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--net/ipv4/netfilter/ipt_CLUSTERIP.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/netfilter/ipt_CLUSTERIP.c b/net/ipv4/netfilter/ipt_CLUSTERIP.c
index 4b02ab39ebc5..08b3e48f44fc 100644
--- a/net/ipv4/netfilter/ipt_CLUSTERIP.c
+++ b/net/ipv4/netfilter/ipt_CLUSTERIP.c
@@ -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)