Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 90030
b: refs/heads/master
c: 300bf59
h: refs/heads/master
v: v3
  • Loading branch information
Daniel Lezcano authored and David S. Miller committed Mar 5, 2008
1 parent 09ae984 commit bb4c62b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 075de9395760d6d181078f863e676e81c06e1af2
refs/heads/master: 300bf591deca8d108799e70e9300dc31765643e3
3 changes: 3 additions & 0 deletions trunk/net/ipv6/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ int snmp6_register_dev(struct inet6_dev *idev)
if (!idev || !idev->dev)
return -EINVAL;

if (idev->dev->nd_net != &init_net)
return 0;

if (!proc_net_devsnmp6)
return -ENOENT;

Expand Down

0 comments on commit bb4c62b

Please sign in to comment.