summaryrefslogtreecommitdiff
path: root/net/ieee802154
diff options
context:
space:
mode:
authorKirill Tkhai <ktkhai@virtuozzo.com>2018-03-19 14:45:37 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-22 11:11:29 -0400
commit08012631d6277cebe388971cd84fe14d1cc49a00 (patch)
tree334be3a28d0b9cab94dd397c5364e468b1a91c42 /net/ieee802154
parent1ae7762760736d4f7e4ea43e9ed03a608685c3d9 (diff)
net: Convert lowpan_frags_ops
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ieee802154')
-rw-r--r--net/ieee802154/6lowpan/reassembly.c1
1 files changed, 1 insertions, 0 deletions
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)