From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-he1eur01on0124.outbound.protection.outlook.com ([104.47.0.124]:65040 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752964AbeBZM7t (ORCPT ); Mon, 26 Feb 2018 07:59:49 -0500 Subject: [PATCH net-next 03/28] net: Convert synproxy_net_ops From: Kirill Tkhai To: davem@davemloft.net, pablo@netfilter.org, kadlec@blackhole.kfki.hu, fw@strlen.de, netdev@vger.kernel.org, kvalo@codeaurora.org, davem@davemloft.net, edumazet@google.com, jhs@mojatatu.com, xiyou.wangcong@gmail.com, jiri@resnulli.us, mostrows@earthlink.net, alex.aring@gmail.com, stefan@osg.samsung.com, avagin@virtuozzo.com, ktkhai@virtuozzo.com Date: Mon, 26 Feb 2018 15:59:37 +0300 Message-ID: <151964997777.28549.7643116427459994835.stgit@localhost.localdomain> In-Reply-To: <151964991129.28549.5478247975928036472.stgit@localhost.localdomain> References: <151964991129.28549.5478247975928036472.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Sender: netdev-owner@vger.kernel.org List-ID: 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 --- net/netfilter/nf_synproxy_core.c | 1 + 1 file changed, 1 insertion(+) 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)