Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 95884
b: refs/heads/master
c: 0bb53a6
h: refs/heads/master
v: v3
  • Loading branch information
Denis V. Lunev authored and David S. Miller committed May 2, 2008
1 parent 3c5ebf6 commit b3aaae6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5efdccbcda20d3e5fbaa85f726dcc9cfeb005577
refs/heads/master: 0bb53a66fe1258b1cb5eb1ea70768386f0c2a1ca
6 changes: 2 additions & 4 deletions trunk/net/ipv6/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -247,13 +247,11 @@ int snmp6_register_dev(struct inet6_dev *idev)
if (!proc_net_devsnmp6)
return -ENOENT;

p = proc_create(idev->dev->name, S_IRUGO,
proc_net_devsnmp6, &snmp6_seq_fops);
p = proc_create_data(idev->dev->name, S_IRUGO,
proc_net_devsnmp6, &snmp6_seq_fops, idev);
if (!p)
return -ENOMEM;

p->data = idev;

idev->stats.proc_dir_entry = p;
return 0;
}
Expand Down

0 comments on commit b3aaae6

Please sign in to comment.