diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 14:03:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 17:01:39 +0100 |
commit | f95978b7ad0972610b14c65f13f69b3093ff9101 (patch) | |
tree | 977f77b1dd47ae38c727eadd85e1e73fa30b4ec8 /net/ipv4 | |
parent | net: Convert brnf_net_ops (diff) | |
download | linux-f95978b7ad0972610b14c65f13f69b3093ff9101.tar.xz linux-f95978b7ad0972610b14c65f13f69b3093ff9101.zip |
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 <ktkhai@virtuozzo.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/netfilter/ipt_CLUSTERIP.c | 1 |
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) |