summaryrefslogtreecommitdiff
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorWillem de Bruijn <willemb@google.com>2014-08-12 14:53:16 -0400
committerDavid S. Miller <davem@davemloft.net>2014-08-13 20:06:06 -0700
commit712a72213fad36cc9e6ec706b5e020d7eb6e03bc (patch)
tree7cc2a560a0b95d500b12c172f9e8b32b1d1321d1 /net/ipv4/tcp_output.c
parentcd094927c68718c8bda432c18e85b6ec3a9ee3d1 (diff)
net-timestamp: fix missing ACK timestamp
ACK timestamps are generated in tcp_clean_rtx_queue. The TSO datapath can break out early, causing the timestamp code to be skipped. Move the code up before the break. Reported-by: David S. Miller <davem@davemloft.net> Also fix a boundary condition: tp->snd_una is the next unacknowledged byte and between tests inclusive (a <= b <= c), so generate a an ACK timestamp if (prior_snd_una <= tskey <= tp->snd_una - 1). Signed-off-by: Willem de Bruijn <willemb@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions