summaryrefslogtreecommitdiffstats
path: root/net/ipv6/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/proc.c')
-rw-r--r--net/ipv6/proc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c
index c38c9e5..23e567f 100644
--- a/net/ipv6/proc.c
+++ b/net/ipv6/proc.c
@@ -231,9 +231,6 @@ int snmp6_register_dev(struct inet6_dev *idev)
return -EINVAL;
net = dev_net(idev->dev);
- if (!net_eq(net, &init_net))
- return 0;
-
if (!net->mib.proc_net_devsnmp6)
return -ENOENT;
OpenPOWER on IntegriCloud