diff options
| author | Yuchung Cheng <ycheng@google.com> | 2013-10-24 08:44:25 -0700 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2013-10-27 16:50:06 -0400 |
| commit | bc15afa39ecc16f01c3389d15d8f6015a427fe85 (patch) | |
| tree | 37c5d23049eaa8ec76fd79f4a8afc13a2bdbb3c5 /Documentation/DocBook/procfs_example.c | |
| parent | e9e2a904ef0a4f46ee5c845f3ae04e62b917bb6d (diff) | |
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 'Documentation/DocBook/procfs_example.c')
0 files changed, 0 insertions, 0 deletions
