Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86513
b: refs/heads/master
c: 7702072
h: refs/heads/master
i:
  86511: 6aeda28
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Feb 28, 2008
1 parent 821d2d4 commit f461cb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 4436f4cbfac15acea139863e322ed2f9efb118d3
refs/heads/master: 770207208e4374f013f6f49233d5c8c8df505e03
5 changes: 2 additions & 3 deletions trunk/net/ipv4/route.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,12 +542,11 @@ static __init int ip_rt_proc_init(struct net *net)
if (!pde)
goto err1;

pde = create_proc_entry("rt_cache", S_IRUGO, net->proc_net_stat);
pde = proc_create("rt_cache", S_IRUGO,
net->proc_net_stat, &rt_cpu_seq_fops);
if (!pde)
goto err2;

pde->proc_fops = &rt_cpu_seq_fops;

#ifdef CONFIG_NET_CLS_ROUTE
pde = create_proc_read_entry("rt_acct", 0, net->proc_net,
ip_rt_acct_read, NULL);
Expand Down

0 comments on commit f461cb1

Please sign in to comment.