[IPV4]: Handle large allocations in fib_trie
authorPatrick McHardy <kaber@trash.net>
Tue, 5 Jul 2005 21:44:55 +0000 (14:44 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jul 2005 21:44:55 +0000 (14:44 -0700)
commitf0e36f8cee8101604378085171c980d9cc71d779
tree6d22dd7c129beef6616dc5a0301249ed4cbc4e3b
parent93e266f600f4048fe7a2e8803abb9f8baff84aa7
[IPV4]: Handle large allocations in fib_trie

Inflating a node a couple of times makes it exceed the 128k kmalloc limit.
Use __get_free_pages for allocations > PAGE_SIZE, as in fib_hash.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Robert Olsson <Robert.Olsson@data.slu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_trie.c