From: Eric Dumazet Date: Fri, 17 Oct 2014 19:45:55 +0000 (-0700) Subject: bna: fix skb->truesize underestimation X-Git-Tag: fixes-against-v3.18-rc2~61^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2d9da1a8375cbe53df5b415d059429013a3a79f;p=pandora-kernel.git bna: fix skb->truesize underestimation skb->truesize is not meant to be tracking amount of used bytes in an skb, but amount of reserved/consumed bytes in memory. For instance, if we use a single byte in last page fragment, we have to account the full size of the fragment. skb->truesize can be very different from skb->len, that has a very specific safety purpose. Signed-off-by: Eric Dumazet Cc: Rasesh Mody Signed-off-by: David S. Miller --- Reading git-diff-tree failed