diff options
| author | Willem de Bruijn <[email protected]> | 2014-08-12 18:53:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-08-14 03:06:06 +0000 |
| commit | 712a72213fad36cc9e6ec706b5e020d7eb6e03bc (patch) | |
| tree | 7cc2a560a0b95d500b12c172f9e8b32b1d1321d1 /net/ipv4/tcp_output.c | |
| parent | drivers/net/irda/donauboe.c: convert to module_pci_driver (diff) | |
| download | kernel-712a72213fad36cc9e6ec706b5e020d7eb6e03bc.tar.gz kernel-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 <[email protected]>
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 <[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
