diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 764ad37ca070..c79cbff54370 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -4416,8 +4416,7 @@ static void __addrconf_sysctl_unregister(struct ipv6_devconf *p) | |||
4416 | 4416 | ||
4417 | static void addrconf_sysctl_register(struct inet6_dev *idev) | 4417 | static void addrconf_sysctl_register(struct inet6_dev *idev) |
4418 | { | 4418 | { |
4419 | neigh_sysctl_register(idev->dev, idev->nd_parms, NET_IPV6, | 4419 | neigh_sysctl_register(idev->dev, idev->nd_parms, "ipv6", |
4420 | NET_IPV6_NEIGH, "ipv6", | ||
4421 | &ndisc_ifinfo_sysctl_change); | 4420 | &ndisc_ifinfo_sysctl_change); |
4422 | __addrconf_sysctl_register(dev_net(idev->dev), idev->dev->name, | 4421 | __addrconf_sysctl_register(dev_net(idev->dev), idev->dev->name, |
4423 | idev, &idev->cnf); | 4422 | idev, &idev->cnf); |