git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a282054
)
bna: fix skb->truesize underestimation
author
Eric Dumazet
<edumazet@google.com>
Fri, 17 Oct 2014 19:45:55 +0000
(12:45 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 18 Oct 2014 03:56:33 +0000
(23:56 -0400)
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>
drivers/net/ethernet/brocade/bna/bnad.c
patch
|
blob
|
history
diff --cc
drivers/net/ethernet/brocade/bna/bnad.c
Simple merge