From: Kirill Tkhai Date: Mon, 26 Feb 2018 12:59:37 +0000 (+0300) Subject: net: Convert synproxy_net_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f0aad8e340eace8a13736277a0e8c040a879740c;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/net/netfilter/nf_synproxy_core.c b/net/netfilter/nf_synproxy_core.c index 92139a087260a..64b875e452ca9 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)