commit | 2909d874f34eae157aecab0af27c6dc4a1751f8f | [log] [tgz] |
---|---|---|
author | Yuchung Cheng <ycheng@google.com> | Thu Oct 24 08:55:25 2013 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Oct 27 16:50:06 2013 -0400 |
tree | acbb596083058b7cff6edd7d96bd5411597fa5ea | |
parent | bc15afa39ecc16f01c3389d15d8f6015a427fe85 [diff] |
tcp: only take RTT from timestamps if new data is acked Patch ed08495c3 "tcp: use RTT from SACK for RTO" has a bug that it does not check if the ACK acknowledge new data before taking the RTT sample from TCP timestamps. This patch adds the check back as required by the RFC. 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>