Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9131
b: refs/heads/master
c: 78c6671
h: refs/heads/master
i:
  9129: acde0fb
  9127: d9b6b91
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Sep 21, 2005
1 parent 42c47a3 commit 4029036
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 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: 0fb375fb9b93b7d822debc6a734052337ccfdb1f
refs/heads/master: 78c6671a88313fd3c4364dc46e8c8186612616b8
15 changes: 3 additions & 12 deletions trunk/net/ipv4/fib_trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,7 @@ fib_insert_node(struct trie *t, int *err, u32 key, int plen)
}

if (tp && tp->pos + tp->bits > 32)
printk("ERROR tp=%p pos=%d, bits=%d, key=%0x plen=%d\n",
printk(KERN_WARNING "fib_trie tp=%p pos=%d, bits=%d, key=%0x plen=%d\n",
tp, tp->pos, tp->bits, key, plen);

/* Rebalance the trie */
Expand Down Expand Up @@ -1832,16 +1832,7 @@ static int fn_trie_dump_fa(t_key key, int plen, struct list_head *fah, struct fi
i++;
continue;
}
if (fa->fa_info->fib_nh == NULL) {
printk("Trie error _fib_nh=NULL in fa[%d] k=%08x plen=%d\n", i, key, plen);
i++;
continue;
}
if (fa->fa_info == NULL) {
printk("Trie error fa_info=NULL in fa[%d] k=%08x plen=%d\n", i, key, plen);
i++;
continue;
}
BUG_ON(!fa->fa_info);

if (fib_dump_info(skb, NETLINK_CB(cb->skb).pid,
cb->nlh->nlmsg_seq,
Expand Down Expand Up @@ -1964,7 +1955,7 @@ struct fib_table * __init fib_hash_init(int id)
trie_main = t;

if (id == RT_TABLE_LOCAL)
printk("IPv4 FIB: Using LC-trie version %s\n", VERSION);
printk(KERN_INFO "IPv4 FIB: Using LC-trie version %s\n", VERSION);

return tb;
}
Expand Down

0 comments on commit 4029036

Please sign in to comment.