net neigh: Decouple per interface neighbour table controls from binary sysctls
[linux-2.6-block.git] / net / ipv6 / addrconf.c
index 764ad37ca0704ad06caa1fa8ea36410604ba84af..c79cbff543700a9b7dae91a91bac55fbbbb458e8 100644 (file)
@@ -4416,8 +4416,7 @@ static void __addrconf_sysctl_unregister(struct ipv6_devconf *p)
 
 static void addrconf_sysctl_register(struct inet6_dev *idev)
 {
-       neigh_sysctl_register(idev->dev, idev->nd_parms, NET_IPV6,
-                             NET_IPV6_NEIGH, "ipv6",
+       neigh_sysctl_register(idev->dev, idev->nd_parms, "ipv6",
                              &ndisc_ifinfo_sysctl_change);
        __addrconf_sysctl_register(dev_net(idev->dev), idev->dev->name,
                                        idev, &idev->cnf);