[IPV4]: fib_trie resize break
authorRobert Olsson <robert.olsson@its.uu.se>
Mon, 19 Mar 2007 23:27:37 +0000 (16:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:26:32 +0000 (22:26 -0700)
commit05eee48c5af8213a71bd908ce17f577b2b776f79
tree42a21c48e7a549642a71a6db2abd8f41d0338088
parentca0605a7c8a42379c695308944b3ae82a85479f1
[IPV4]: fib_trie resize break

The patch below adds break condition for the resize operations. If
we don't achieve the desired fill factor a warning is printed. Trie
should still be operational but new thresholds should be considered.

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