Eric Dumazet 50269e19ad net: add a truesize parameter to skb_add_rx_frag()
skb_add_rx_frag() API is misleading.

Network skbs built with this helper can use uncharged kernel memory and
eventually stress/crash machine in OOM.

Add a 'truesize' parameter and then fix drivers in followup patches.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-25 13:29:58 -04:00
..
2011-12-14 02:39:30 -05:00
2011-12-11 18:25:16 -05:00
2011-09-16 19:20:20 -04:00
2012-03-06 15:16:25 -05:00
2012-03-08 13:52:08 -08:00
2011-12-16 15:49:52 -05:00