net neigh: Decouple per interface neighbour table controls from binary sysctls
[linux-2.6-block.git] / net / ipv6 / ndisc.c
index 2dfec6bb8adaad2bb18b79f3f627af2689bfe148..8bcc4b7db3bf8593d74b491d869a48f4d9fcc9a0 100644 (file)
@@ -1820,8 +1820,7 @@ int __init ndisc_init(void)
        neigh_table_init(&nd_tbl);
 
 #ifdef CONFIG_SYSCTL
-       err = neigh_sysctl_register(NULL, &nd_tbl.parms, NET_IPV6,
-                                   NET_IPV6_NEIGH, "ipv6",
+       err = neigh_sysctl_register(NULL, &nd_tbl.parms, "ipv6",
                                    &ndisc_ifinfo_sysctl_change);
        if (err)
                goto out_unregister_pernet;