Commit aa65f636 authored by Kirill Tkhai's avatar Kirill Tkhai Committed by David S. Miller

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 a5600024 "net: Fix hlist
corruptions in inet_evict_bucket()".
Signed-off-by: default avatarKirill Tkhai <ktkhai@virtuozzo.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 08012631
...@@ -646,6 +646,7 @@ static void nf_ct_net_exit(struct net *net) ...@@ -646,6 +646,7 @@ static void nf_ct_net_exit(struct net *net)
static struct pernet_operations nf_ct_net_ops = { static struct pernet_operations nf_ct_net_ops = {
.init = nf_ct_net_init, .init = nf_ct_net_init,
.exit = nf_ct_net_exit, .exit = nf_ct_net_exit,
.async = true,
}; };
int nf_ct_frag6_init(void) int nf_ct_frag6_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment