Eric Dumazet f2d9da1a83 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 <edumazet@google.com>
Cc: Rasesh Mody <rasesh.mody@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-10-17 23:56:33 -04:00
..
2014-10-08 06:53:19 -04:00
2014-10-08 17:37:16 -04:00
2014-10-08 17:37:16 -04:00
2014-10-07 20:39:25 -04:00
2014-10-08 17:37:16 -04:00
2014-09-22 16:48:47 +09:00
2014-10-08 06:50:18 -04:00
2014-09-22 07:54:10 -07:00
2014-10-03 11:24:46 -07:00
2014-10-08 05:27:39 -04:00
2014-10-08 17:37:16 -04:00
2014-10-08 17:37:16 -04:00
2014-10-07 21:29:18 -04:00
2014-10-08 17:06:53 -04:00
2014-09-06 12:12:09 -07:00
2014-09-24 09:46:29 -07:00
2014-10-08 17:37:16 -04:00
2014-10-08 17:37:16 -04:00
2014-09-11 16:52:29 -07:00