diff options
author | Yuchung Cheng <ycheng@google.com> | 2013-10-24 17:44:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-10-27 21:50:06 +0100 |
commit | bc15afa39ecc16f01c3389d15d8f6015a427fe85 (patch) | |
tree | 37c5d23049eaa8ec76fd79f4a8afc13a2bdbb3c5 /net/core | |
parent | be2net: Warn users of possible broken functionality on BE2 cards with very ol... (diff) | |
download | linux-bc15afa39ecc16f01c3389d15d8f6015a427fe85.tar.xz linux-bc15afa39ecc16f01c3389d15d8f6015a427fe85.zip |
tcp: fix SYNACK RTT estimation in Fast Open
tp->lsndtime may not always be the SYNACK timestamp if a passive
Fast Open socket sends data before handshake completes. And if the
remote acknowledges both the data and the SYNACK, the RTT sample
is already taken in tcp_ack(), so no need to call
tcp_update_ack_rtt() in tcp_synack_rtt_meas() aagain.
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>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions