diff options
author | Yuchung Cheng <ycheng@google.com> | 2013-10-24 15:44:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-11-20 20:37:36 (GMT) |
commit | f5bc40e890db537bbca6b63a81c52e4d91e00e0b (patch) | |
tree | 17f3d221e578c1741c812a4ef306cd4036541d8e /virt | |
parent | d5f8887fc210876f3f5f9991486f27a405ad6445 (diff) | |
download | linux-fsl-qoriq-f5bc40e890db537bbca6b63a81c52e4d91e00e0b.tar.xz |
tcp: fix SYNACK RTT estimation in Fast Open
[ Upstream commit bc15afa39ecc16f01c3389d15d8f6015a427fe85 ]
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions