]> git.baikalelectronics.ru Git - kernel.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)
commit24677bf01c4b1d7ae5e4ac05f56874d03b4e0ff2
tree7b437fbf829fae6b29b74fa276ae1adea435a917
parentac801ed3699cfcd1490426b3e46ddef6a97ca210
[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