diff options
author | Willem de Bruijn <willemb@google.com> | 2014-08-12 20:53:16 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-08-14 05:06:06 +0200 |
commit | 712a72213fad36cc9e6ec706b5e020d7eb6e03bc (patch) | |
tree | 7cc2a560a0b95d500b12c172f9e8b32b1d1321d1 /net/ipv4/tcp_yeah.c | |
parent | drivers/net/irda/donauboe.c: convert to module_pci_driver (diff) | |
download | linux-712a72213fad36cc9e6ec706b5e020d7eb6e03bc.tar.xz linux-712a72213fad36cc9e6ec706b5e020d7eb6e03bc.zip |
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_yeah.c')
0 files changed, 0 insertions, 0 deletions