Files
erofs-linux/net/netfilter
Eric Dumazet 2727de7604 netfilter: xt_recent: avoid high order page allocations
xt_recent can try high order page allocations and this can fail.

iptables: page allocation failure: order:9, mode:0xc0d0

It also wastes about half the allocated space because of kmalloc()
power-of-two roundups and struct recent_table layout.

Use vmalloc() instead to save space and be less prone to allocation
errors when memory is fragmented.

Reported-by: Miroslav Kratochvil <[email protected]>
Reported-by: Dave Jones <[email protected]>
Reported-by: Harald Reindl <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
2013-01-04 20:14:42 +01:00
..
2011-12-16 15:49:52 -05:00
…
…
…
…
…
…
…
…
…
2012-08-20 12:45:57 +02:00
2012-08-20 12:45:57 +02:00
…
2011-12-16 15:49:52 -05:00
…