Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

net: Convert nf_ct_net_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>

authored by

Kirill Tkhai and committed by
David S. Miller
aa65f636 08012631

+1
+1
net/ipv6/netfilter/nf_conntrack_reasm.c
··· 646 646 static struct pernet_operations nf_ct_net_ops = { 647 647 .init = nf_ct_net_init, 648 648 .exit = nf_ct_net_exit, 649 + .async = true, 649 650 }; 650 651 651 652 int nf_ct_frag6_init(void)