aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-02-26 15:59:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-02-27 11:01:35 -0500
commitf0aad8e340eace8a13736277a0e8c040a879740c (patch)
treecdcd077fec06f336f68f444f67e9a28a07a5bc03 /net
parentnet: Convert hashlimit_net_ops and recent_net_ops (diff)
downloadlinux-dev-f0aad8e340eace8a13736277a0e8c040a879740c.tar.xz
linux-dev-f0aad8e340eace8a13736277a0e8c040a879740c.zip
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: Kirill Tkhai <ktkhai@virtuozzo.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netfilter/nf_synproxy_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_synproxy_core.c b/net/netfilter/nf_synproxy_core.c
index 92139a087260..64b875e452ca 100644
--- a/net/netfilter/nf_synproxy_core.c
+++ b/net/netfilter/nf_synproxy_core.c
@@ -398,6 +398,7 @@ static struct pernet_operations synproxy_net_ops = {
.exit = synproxy_net_exit,
.id = &synproxy_net_id,
.size = sizeof(struct synproxy_net),
+ .async = true,
};
static int __init synproxy_core_init(void)