aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/sysctl_net_ipv6.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/sysctl_net_ipv6.c')
-rw-r--r--net/ipv6/sysctl_net_ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/sysctl_net_ipv6.c b/net/ipv6/sysctl_net_ipv6.c
index 166a57c47d39..06f21e5ad361 100644
--- a/net/ipv6/sysctl_net_ipv6.c
+++ b/net/ipv6/sysctl_net_ipv6.c
@@ -140,7 +140,7 @@ int ipv6_sysctl_register(void)
140{ 140{
141 int err = -ENOMEM; 141 int err = -ENOMEM;
142 142
143 ip6_header = register_net_sysctl_rotable(net_ipv6_ctl_path, ipv6_rotable); 143 ip6_header = register_net_sysctl(&init_net, "net/ipv6", ipv6_rotable);
144 if (ip6_header == NULL) 144 if (ip6_header == NULL)
145 goto out; 145 goto out;
146 146