Browse Source

[IPV4]: FIB Trie cleanups.

Below is a patch that cleans up some of this, supposedly without
changing any behaviour:

* Whitespace cleanups
* Introduce DBG()
* BUG_ON() instead of if () { BUG(); }
* Remove some of the deep nesting to make the code flow more
  comprehensible
* Some mask operations were simplified

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Olof Johansson 20 years ago
parent
commit
91b9a277fc
1 changed files with 227 additions and 266 deletions
  1. 227 266
      net/ipv4/fib_trie.c

File diff suppressed because it is too large
+ 227 - 266
net/ipv4/fib_trie.c


Some files were not shown because too many files changed in this diff