net: Move all of the network sysctls without a namespace into init_net.
[linux-2.6-block.git] / net / ipv6 / netfilter / nf_conntrack_reasm.c
index 38f00b0298d3f53327f2e35447e8ab97a1568e83..754814462950b0e329ffbda7e0c6c02d34764787 100644 (file)
@@ -626,7 +626,7 @@ int nf_ct_frag6_init(void)
        inet_frags_init(&nf_frags);
 
 #ifdef CONFIG_SYSCTL
-       nf_ct_frag6_sysctl_header = register_sysctl_paths(nf_net_netfilter_sysctl_path,
+       nf_ct_frag6_sysctl_header = register_net_sysctl_table(&init_net, nf_net_netfilter_sysctl_path,
                                                          nf_ct_frag6_sysctl_table);
        if (!nf_ct_frag6_sysctl_header) {
                inet_frags_fini(&nf_frags);
@@ -640,7 +640,7 @@ int nf_ct_frag6_init(void)
 void nf_ct_frag6_cleanup(void)
 {
 #ifdef CONFIG_SYSCTL
-       unregister_sysctl_table(nf_ct_frag6_sysctl_header);
+       unregister_net_sysctl_table(nf_ct_frag6_sysctl_header);
        nf_ct_frag6_sysctl_header = NULL;
 #endif
        inet_frags_fini(&nf_frags);