projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b4209e
)
netns: allow per device ipv6 snmp statistics in non-initial namespace
author
Denis V. Lunev
<den@openvz.org>
Tue, 7 Oct 2008 21:47:55 +0000
(14:47 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 7 Oct 2008 21:47:55 +0000
(14:47 -0700)
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/net/ipv6/proc.c
b/net/ipv6/proc.c
index c38c9e55406b44d575cca5fb31d0456d09702641..23e567fb1d37cd6e0867a00876db6af630cc10f7 100644
(file)
--- 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;