Skip to content

Commit

Permalink
netns: allow per device ipv6 snmp statistics in non-initial namespace
Browse files Browse the repository at this point in the history
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed Oct 7, 2008
1 parent 2b4209e commit ab38dc7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions net/ipv6/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit ab38dc7

Please sign in to comment.