diff options
author | Kirill Tkhai <ktkhai@virtuozzo.com> | 2018-03-19 07:45:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-03-22 11:11:30 -0400 |
commit | aa65f636540539e2e1fd77bdcd8fc7060d19d47b (patch) | |
tree | ac498cbf91dcb78afe6cbe65ba4997193dd28a46 | |
parent | 08012631d6277cebe388971cd84fe14d1cc49a00 (diff) |
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>
-rw-r--r-- | net/ipv6/netfilter/nf_conntrack_reasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/netfilter/nf_conntrack_reasm.c b/net/ipv6/netfilter/nf_conntrack_reasm.c index b84ce3e6d728..34136fe80ed5 100644 --- a/net/ipv6/netfilter/nf_conntrack_reasm.c +++ b/net/ipv6/netfilter/nf_conntrack_reasm.c | |||
@@ -646,6 +646,7 @@ static void nf_ct_net_exit(struct net *net) | |||
646 | static struct pernet_operations nf_ct_net_ops = { | 646 | static struct pernet_operations nf_ct_net_ops = { |
647 | .init = nf_ct_net_init, | 647 | .init = nf_ct_net_init, |
648 | .exit = nf_ct_net_exit, | 648 | .exit = nf_ct_net_exit, |
649 | .async = true, | ||
649 | }; | 650 | }; |
650 | 651 | ||
651 | int nf_ct_frag6_init(void) | 652 | int nf_ct_frag6_init(void) |