[IPV4] fib_trie: compute size when needed
authorStephen Hemminger <stephen.hemminger@vyatta.com>
Wed, 23 Jan 2008 05:54:05 +0000 (21:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:10:57 +0000 (15:10 -0800)
commit936722922f6d2366378de606a40c14f96915474d
treed609e6f743f13fc3813e2e90ead6cf34e8a96ccc
parenta07f5f508a4d9728c8e57d7f66294bf5b254ff7f
[IPV4] fib_trie: compute size when needed

Compute the number of prefixes when needed, rather than doing bookeeping.

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