]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: avoid high order allocations
authorEric Dumazet <eric.dumazet@gmail.com>
Sat, 5 Jun 2010 10:03:30 +0000 (03:03 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 5 Jun 2010 10:03:30 +0000 (03:03 -0700)
commit9f91230ea02fb010c0cadab82b87407e066f8f8b
treedaa8a97c230802bcbb8149a21172eca2c6155d91
parentbb6a5d0cc0c879e907e93ed657a99bfbeccab355
ipv6: avoid high order allocations

With mtu=9000, mld_newpack() use order-2 GFP_ATOMIC allocations, that
are very unreliable, on machines where PAGE_SIZE=4K

Limit allocated skbs to be at most one page. (order-0 allocations)

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c