Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14568
b: refs/heads/master
c: c9e53cb
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Nov 21, 2005
1 parent fecdf21 commit 6b9179d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1ef43204f4bd24dcd3156185b19b31b6b4151ae9
refs/heads/master: c9e53cbe7ad6eabb3c7c5140b6127b4e5f9ee840
3 changes: 3 additions & 0 deletions trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -2378,6 +2378,7 @@ static unsigned fib_flag_trans(int type, u32 mask, const struct fib_info *fi)
*/
static int fib_route_seq_show(struct seq_file *seq, void *v)
{
const struct fib_trie_iter *iter = seq->private;
struct leaf *l = v;
int i;
char bf[128];
Expand All @@ -2389,6 +2390,8 @@ static int fib_route_seq_show(struct seq_file *seq, void *v)
return 0;
}

if (iter->trie == trie_local)
return 0;
if (IS_TNODE(l))
return 0;

Expand Down

0 comments on commit 6b9179d

Please sign in to comment.