[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1222942452-9820-6-git-send-email-den@openvz.org>
Date: Thu, 2 Oct 2008 14:14:09 +0400
From: "Denis V. Lunev" <den@...nvz.org>
To: yoshfuji@...ux-ipv6.org
Cc: netdev@...r.kernel.org, containers@...ts.linux-foundation.org,
den@...nvz.org, benjamin.thery@...l.net, dlezcano@...ibm.com,
xemul@...nvz.org
Subject: [PATCH net-next 6/9] netns: allow per device ipv6 snmp statistics in non-initial namespace
Signed-off-by: Denis V. Lunev <den@...nvz.org>
---
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 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;
--
1.5.3.rc5
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists