diff options
-rw-r--r-- | net/ipv6/proc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv6/proc.c b/net/ipv6/proc.c index c38c9e55406b..23e567fb1d37 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; |