aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2014-10-17 19:45:55 +0000
committerDavid S. Miller <[email protected]>2014-10-18 03:56:33 +0000
commitf2d9da1a8375cbe53df5b415d059429013a3a79f (patch)
tree078d45aba9c17fabe189b155397b0d0158ac1328 /net/ipv4/tcp_output.c
parentnet: dsa: add includes for ethtool and phy_fixed definitions (diff)
downloadkernel-f2d9da1a8375cbe53df5b415d059429013a3a79f.tar.gz
kernel-f2d9da1a8375cbe53df5b415d059429013a3a79f.zip
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 <[email protected]> Cc: Rasesh Mody <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions