ipv4: fix nexthop attlen check in fib_nh_match
[firefly-linux-kernel-4.4.55.git] / net / ipv6 / sysctl_net_ipv6.c
index b06fd078e6c7a290a2af60806da6a288436847e6..e85c48bd404f4036b0c4e7db1e29bd6a92192f75 100644 (file)
@@ -52,10 +52,6 @@ static int __net_init ipv6_sysctl_net_init(struct net *net)
                goto out;
        ipv6_table[0].data = &net->ipv6.sysctl.bindv6only;
 
-       /* Don't export sysctls to unprivileged users */
-       if (net->user_ns != &init_user_ns)
-               ipv6_table[0].procname = NULL;
-
        ipv6_route_table = ipv6_route_sysctl_init(net);
        if (!ipv6_route_table)
                goto out_ipv6_table;