summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2014-08-12 15:08:12 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-13 20:06:06 -0700
commit490cc7d03c21871eef5949ba77a18b0c7ef70ef5 (patch)
treebaa7f8953e8cbd89e29515bd13b889e06b7b192a /drivers
parent712a72213fad36cc9e6ec706b5e020d7eb6e03bc (diff)
net-timestamp: fix missing tcp fragmentation cases
Bytestream timestamps are correlated with a single byte in the skbuff, recorded in skb_shinfo(skb)->tskey. When fragmenting skbuffs, ensure that the tskey is set for the fragment in which the tskey falls (seqno <= tskey < end_seqno). The original implementation did not address fragmentation in tcp_fragment or tso_fragment. Add code to inspect the sequence numbers and move both tskey and the relevant tx_flags if necessary. Reported-by: Eric Dumazet <eric.dumazet@gmail.com> Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions