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

net: Convert synproxy_net_ops

These pernet_operations create and destroy /proc entries
and allocate extents to template ct, which depend on global
nf_ct_ext_types[] array. So, we are able to mark them async.
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47d63a01
...@@ -398,6 +398,7 @@ static struct pernet_operations synproxy_net_ops = { ...@@ -398,6 +398,7 @@ static struct pernet_operations synproxy_net_ops = {
.exit = synproxy_net_exit, .exit = synproxy_net_exit,
.id = &synproxy_net_id, .id = &synproxy_net_id,
.size = sizeof(struct synproxy_net), .size = sizeof(struct synproxy_net),
.async = true,
}; };
static int __init synproxy_core_init(void) static int __init synproxy_core_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