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
..
2012-02-06 14:56:11 -05:00
2012-02-22 14:51:13 -05:00
2012-02-06 14:56:11 -05:00
2011-11-15 14:45:59 +01:00
2012-02-22 14:51:17 -05:00
2011-11-15 11:16:58 +01:00
2011-11-15 14:45:59 +01:00