Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 85636
b: refs/heads/master
c: ec28cf7
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 13, 2008
1 parent 5c9a24e commit bc73dd0
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: e4f8b5d4edc1edb0709531bd1a342655d5e8b98e
refs/heads/master: ec28cf738d899e9d0652108e1986101771aacb2e
6 changes: 2 additions & 4 deletions trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1762,11 +1762,9 @@ static struct leaf *trie_leafindex(struct trie *t, int index)
{
struct leaf *l = trie_firstleaf(t);

while (index-- > 0) {
while (l && index-- > 0)
l = trie_nextleaf(l);
if (!l)
break;
}

return l;
}

Expand Down

0 comments on commit bc73dd0

Please sign in to comment.