[IPV4] fib_trie: iterator recode
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 23 Jan 2008 05:55:32 +0000 (21:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:59 +0000 (15:10 -0800)
commit82cfbb008572b1a953091ef78f767aa3ca213092
tree1e2ef11b188e89dd41b28b20580b2c424d75e9bd
parent64347f786d13349d6a6f812f3a83c269e26c0136
[IPV4] fib_trie: iterator recode

Remove the complex loop structure of nextleaf() and replace it with a
simpler tree walker. This improves the performance and is much
cleaner.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c