Commit f95978b7 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

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: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 7ca9e67f
...@@ -840,6 +840,7 @@ static struct pernet_operations clusterip_net_ops = { ...@@ -840,6 +840,7 @@ static struct pernet_operations clusterip_net_ops = {
.exit = clusterip_net_exit, .exit = clusterip_net_exit,
.id = &clusterip_net_id, .id = &clusterip_net_id,
.size = sizeof(struct clusterip_net), .size = sizeof(struct clusterip_net),
.async = true,
}; };
static int __init clusterip_tg_init(void) static int __init clusterip_tg_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment