public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Kirill Tkhai <ktkhai@virtuozzo.com>
To: alex.aring@gmail.com, stefan@osg.samsung.com,
	davem@davemloft.net, pablo@netfilter.org,
	kadlec@blackhole.kfki.hu, fw@strlen.de, yoshfuji@linux-ipv6.org,
	brouer@redhat.com, keescook@chromium.org, ktkhai@virtuozzo.com,
	linux-wpan@vger.kernel.org, netdev@vger.kernel.org,
	netfilter-devel@vger.kernel.org
Subject: [PATCH net-next 1/2] net: Convert lowpan_frags_ops
Date: Mon, 19 Mar 2018 14:45:37 +0300	[thread overview]
Message-ID: <152145993742.26348.7771294840455450666.stgit@localhost.localdomain> (raw)
In-Reply-To: <152145973147.26348.4080298027358158796.stgit@localhost.localdomain>

These pernet_operations register and unregister sysctl.
Also, there is inet_frags_exit_net() called in exit method,
which has to be safe after a560002437d3 "net: Fix hlist
corruptions in inet_evict_bucket()".

Signed-off-by: Kirill Tkhai <ktkhai@virtuozzo.com>
---
 net/ieee802154/6lowpan/reassembly.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/net/ieee802154/6lowpan/reassembly.c b/net/ieee802154/6lowpan/reassembly.c
index 85bf86ad6b18..a9ccb1322f69 100644
--- a/net/ieee802154/6lowpan/reassembly.c
+++ b/net/ieee802154/6lowpan/reassembly.c
@@ -603,6 +603,7 @@ static void __net_exit lowpan_frags_exit_net(struct net *net)
 static struct pernet_operations lowpan_frags_ops = {
 	.init = lowpan_frags_init_net,
 	.exit = lowpan_frags_exit_net,
+	.async = true,
 };
 
 int __init lowpan_net_frag_init(void)

  reply	other threads:[~2018-03-19 11:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-19 11:45 [PATCH net-next 0/2] Converting pernet_operations (part #10) Kirill Tkhai
2018-03-19 11:45 ` Kirill Tkhai [this message]
2018-03-22 15:14   ` [PATCH net-next 1/2] net: Convert lowpan_frags_ops David Miller
2018-03-19 11:45 ` [PATCH net-next 2/2] net: Convert nf_ct_net_ops Kirill Tkhai
2018-03-22 15:14   ` David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=152145993742.26348.7771294840455450666.stgit@localhost.localdomain \
    --to=ktkhai@virtuozzo.com \
    --cc=alex.aring@gmail.com \
    --cc=brouer@redhat.com \
    --cc=davem@davemloft.net \
    --cc=fw@strlen.de \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=keescook@chromium.org \
    --cc=linux-wpan@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=pablo@netfilter.org \
    --cc=stefan@osg.samsung.com \
    --cc=yoshfuji@linux-ipv6.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox