Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ab38dc7a authored by Denis V. Lunev's avatar Denis V. Lunev Committed by David S. Miller
Browse files

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

parent 2b4209e4
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;