Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 183727
b: refs/heads/master
c: 81c1ebf
h: refs/heads/master
i:
  183725: 4e7c193
  183723: 15b1f49
  183719: 3b5be04
  183711: ea0c693
v: v3
  • Loading branch information
Alexey Dobriyan authored and David S. Miller committed Jan 23, 2010
1 parent f7af3ae commit 45b8d63
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 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: a271623f871dda970319ca15dfad3a8c8c36249f
refs/heads/master: 81c1ebfc4379f529b001e23164dd5c2282bdc0ec
11 changes: 4 additions & 7 deletions trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -2417,8 +2417,7 @@ EXPORT_SYMBOL(neigh_seq_stop);

static void *neigh_stat_seq_start(struct seq_file *seq, loff_t *pos)
{
struct proc_dir_entry *pde = seq->private;
struct neigh_table *tbl = pde->data;
struct neigh_table *tbl = seq->private;
int cpu;

if (*pos == 0)
Expand All @@ -2435,8 +2434,7 @@ static void *neigh_stat_seq_start(struct seq_file *seq, loff_t *pos)

static void *neigh_stat_seq_next(struct seq_file *seq, void *v, loff_t *pos)
{
struct proc_dir_entry *pde = seq->private;
struct neigh_table *tbl = pde->data;
struct neigh_table *tbl = seq->private;
int cpu;

for (cpu = *pos; cpu < nr_cpu_ids; ++cpu) {
Expand All @@ -2455,8 +2453,7 @@ static void neigh_stat_seq_stop(struct seq_file *seq, void *v)

static int neigh_stat_seq_show(struct seq_file *seq, void *v)
{
struct proc_dir_entry *pde = seq->private;
struct neigh_table *tbl = pde->data;
struct neigh_table *tbl = seq->private;
struct neigh_statistics *st = v;

if (v == SEQ_START_TOKEN) {
Expand Down Expand Up @@ -2501,7 +2498,7 @@ static int neigh_stat_seq_open(struct inode *inode, struct file *file)

if (!ret) {
struct seq_file *sf = file->private_data;
sf->private = PDE(inode);
sf->private = PDE(inode)->data;
}
return ret;
};
Expand Down

0 comments on commit 45b8d63

Please sign in to comment.