diff options
author | Yuchung Cheng <ycheng@google.com> | 2013-10-24 15:59:27 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 20:37:36 (GMT) |
commit | f22ede939f13ddeff28ad4105ffc2f4278b9b279 (patch) | |
tree | f8199ad8cf34e16ebcc97dbdb102098b29432ed3 /fs/bad_inode.c | |
parent | 6f21a69396ea242c3e65fe8304f5296c54408d3a (diff) | |
download | linux-fsl-qoriq-f22ede939f13ddeff28ad4105ffc2f4278b9b279.tar.xz |
tcp: do not rearm RTO when future data are sacked
[ Upstream commit 2f715c1dde6e1760f3101358dc26f8c9489be0bf ]
Patch ed08495c3 "tcp: use RTT from SACK for RTO" always re-arms RTO upon
obtaining a RTT sample from newly sacked data.
But technically RTO should only be re-armed when the data sent before
the last (re)transmission of write queue head are (s)acked. Otherwise
the RTO may continue to extend during loss recovery on data sent
in the future.
Note that RTTs from ACK or timestamps do not have this problem, as the RTT
source must be from data sent before.
The new RTO re-arm policy is
1) Always re-arm RTO if SND.UNA is advanced
2) Re-arm RTO if sack RTT is available, provided the sacked data was
sent before the last time write_queue_head was sent.
Signed-off-by: Larry Brakmo <brakmo@google.com>
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/bad_inode.c')
0 files changed, 0 insertions, 0 deletions