]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[IPV4]: More broken memory allocation fixes for fib_trie
authorRobert Olsson <robert.olsson@its.uu.se>
Tue, 5 Jul 2005 22:02:40 +0000 (15:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 22:02:40 +0000 (15:02 -0700)
commit2f36895aa774cf4d1c3d68921e0209e796b66600
tree7b437fbf829fae6b29b74fa276ae1adea435a917
parentdb1322b8012e1a8ad711c04813817328cff46718
[IPV4]: More broken memory allocation fixes for fib_trie

Below a patch to preallocate memory when doing resize of trie (inflate halve)
If preallocations fails it just skips the resize of this tnode for this time.

The oops we got when killing bgpd (with full routing) is now gone.
Patrick memory patch is also used.

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