From: Eric Dumazet Date: Fri, 23 Mar 2012 23:59:33 +0000 (+0000) Subject: net: add a truesize parameter to skb_add_rx_frag() X-Git-Tag: v3.4-rc1~84^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50269e19ad990e79eeda101fc6df80cffd5d4831;p=pandora-kernel.git 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 Cc: Wey-Yi Guy Signed-off-by: David S. Miller --- Reading git-diff-tree failed