diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-02-26 15:59:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-02-27 19:01:35 +0300 |
commit | f0aad8e340eace8a13736277a0e8c040a879740c (patch) | |
tree | cdcd077fec06f336f68f444f67e9a28a07a5bc03 /net/netfilter/nf_synproxy_core.c | |
parent | 47d63a01797be8de142beeb0090704501701eafa (diff) | |
download | linux-f0aad8e340eace8a13736277a0e8c040a879740c.tar.xz |
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/netfilter/nf_synproxy_core.c')
-rw-r--r-- | net/netfilter/nf_synproxy_core.c | 1 |
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) |