diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/addrconf.c | 2 | ||||
-rw-r--r-- | net/ipv6/ndisc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 55dc56f9072c..ea8a475fa8c5 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -5028,7 +5028,7 @@ static void __addrconf_sysctl_unregister(struct ipv6_devconf *p) | |||
5028 | 5028 | ||
5029 | static void addrconf_sysctl_register(struct inet6_dev *idev) | 5029 | static void addrconf_sysctl_register(struct inet6_dev *idev) |
5030 | { | 5030 | { |
5031 | neigh_sysctl_register(idev->dev, idev->nd_parms, "ipv6", | 5031 | neigh_sysctl_register(idev->dev, idev->nd_parms, |
5032 | &ndisc_ifinfo_sysctl_change); | 5032 | &ndisc_ifinfo_sysctl_change); |
5033 | __addrconf_sysctl_register(dev_net(idev->dev), idev->dev->name, | 5033 | __addrconf_sysctl_register(dev_net(idev->dev), idev->dev->name, |
5034 | idev, &idev->cnf); | 5034 | idev, &idev->cnf); |
diff --git a/net/ipv6/ndisc.c b/net/ipv6/ndisc.c index 5fc6f69652b8..09a22f4f36c9 100644 --- a/net/ipv6/ndisc.c +++ b/net/ipv6/ndisc.c | |||
@@ -1730,7 +1730,7 @@ int __init ndisc_init(void) | |||
1730 | neigh_table_init(&nd_tbl); | 1730 | neigh_table_init(&nd_tbl); |
1731 | 1731 | ||
1732 | #ifdef CONFIG_SYSCTL | 1732 | #ifdef CONFIG_SYSCTL |
1733 | err = neigh_sysctl_register(NULL, &nd_tbl.parms, "ipv6", | 1733 | err = neigh_sysctl_register(NULL, &nd_tbl.parms, |
1734 | &ndisc_ifinfo_sysctl_change); | 1734 | &ndisc_ifinfo_sysctl_change); |
1735 | if (err) | 1735 | if (err) |
1736 | goto out_unregister_pernet; | 1736 | goto out_unregister_pernet; |