]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitca75e0c685716cecd305e65ba71fcfdf50ab4485
tree42a21c48e7a549642a71a6db2abd8f41d0338088
parentfc4fc6457f305c74533a0d6b03b6c292b1a36c57
[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