projects
/
kernel
/
kernel-generic.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
|
history
diff --git
a/net/ipv6/proc.c
b/net/ipv6/proc.c
index
c38c9e5
..
23e567f
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;