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)
commit72e09ad107e78d69ff4d3b97a69f0aad2b77280f
treedaa8a97c230802bcbb8149a21172eca2c6155d91
parentca7335948e294faf8adf65f2c95ca18ea78540db
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