Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276229
b: refs/heads/master
c: df07a94
h: refs/heads/master
i:
  276227: 9003d34
v: v3
  • Loading branch information
Jorge Boncompte [DTI2] authored and David S. Miller committed Nov 25, 2011
1 parent 8b2ee27 commit 914cc8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 42ca0203fd59aa9be7b241be1fbc3bef1f903f9c
refs/heads/master: df07a94cf50eb73d09bf2350c3fe2598e4cbeee1
5 changes: 4 additions & 1 deletion trunk/net/core/neighbour.c
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,10 @@ static struct pneigh_entry *pneigh_get_next(struct seq_file *seq,
struct net *net = seq_file_net(seq);
struct neigh_table *tbl = state->tbl;

pn = pn->next;
do {
pn = pn->next;
} while (pn && !net_eq(pneigh_net(pn), net));

while (!pn) {
if (++state->bucket > PNEIGH_HASHMASK)
break;
Expand Down

0 comments on commit 914cc8f

Please sign in to comment.