提交 ab38dc7a 编写于 作者: D Denis V. Lunev 提交者: David S. Miller

netns: allow per device ipv6 snmp statistics in non-initial namespace

Signed-off-by: NDenis V. Lunev <den@openvz.org>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 2b4209e4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册