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-03-21 16:52:09 -04:00
2012-02-24 01:42:07 -08:00
2010-07-12 12:57:55 -07:00
2012-01-26 13:36:19 -05:00
2010-11-28 18:24:14 -08:00
2012-01-17 10:31:12 -05:00