Skip to content

Commit

Permalink
net: Convert lowpan_frags_ops
Browse files Browse the repository at this point in the history
These pernet_operations register and unregister sysctl.
Also, there is inet_frags_exit_net() called in exit method,
which has to be safe after a560002 "net: Fix hlist
corruptions in inet_evict_bucket()".

Signed-off-by: Kirill Tkhai <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Kirill Tkhai authored and davem330 committed Mar 22, 2018
1 parent 1ae7762 commit 0801263
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/ieee802154/6lowpan/reassembly.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0801263

Please sign in to comment.