]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[IPV4]: FIB trie cleanup
authorStephen Hemminger <shemminger@osdl.org>
Wed, 24 Aug 2005 04:59:41 +0000 (21:59 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 29 Aug 2005 23:08:01 +0000 (16:08 -0700)
commit0c7770c740156c8802c23d24fc094d06967d997d
tree420a2ca7dc7457d38e9a1b526d3072f610044926
parent331968bd0c1b2437f3ad773cbf55f2e0737bafc0
[IPV4]: FIB trie cleanup

This is a redo of earlier cleanup stuff:
* replace DBG() macro with pr_debug()
* get rid of duplicate extern's that are already in fib_lookup.h
* use BUG_ON and WARN_ON
* don't use BUG checks for null pointers where next statement would
  get a fault anyway
* remove debug printout when rebalance causes deep tree
* remove trailing blanks

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c