]> err.no Git - linux-2.6/commitdiff
ipv6: sysctl fixes
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 25 Aug 2008 22:18:15 +0000 (15:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Aug 2008 22:18:15 +0000 (15:18 -0700)
Braino: net.ipv6 in ipv6 skeleton has no business in rotable
class

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/sysctl_net_ipv6.c

index e6dfaeac6be3f9a646b832a57938b7b5832da53b..587f8f60c489644d3d6dc5a9748fd85963912ae3 100644 (file)
@@ -156,7 +156,7 @@ static struct ctl_table_header *ip6_base;
 int ipv6_static_sysctl_register(void)
 {
        static struct ctl_table empty[1];
-       ip6_base = register_net_sysctl_rotable(net_ipv6_ctl_path, empty);
+       ip6_base = register_sysctl_paths(net_ipv6_ctl_path, empty);
        if (ip6_base == NULL)
                return -ENOMEM;
        return 0;