diff options
author | Yuchung Cheng <ycheng@google.com> | 2013-01-31 23:16:46 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-31 23:20:07 +0400 |
commit | 66555e92fb7a619188c02cceae4bbc414f15f96d (patch) | |
tree | c64ca59aef09b3d659223e71f9282631a9289787 /net/wanrouter | |
parent | 700163db3de397a7557831e1eb9b8ce60e55590a (diff) | |
download | linux-66555e92fb7a619188c02cceae4bbc414f15f96d.tar.xz |
tcp: detect SYN/data drop when F-RTO is disabled
On receiving the SYN-ACK, Fast Open checks icsk_retransmit for SYN
retransmission to detect SYN/data drops. But if F-RTO is disabled,
icsk_retransmit is reset at step D of tcp_fastretrans_alert() (
under tcp_ack()) before tcp_rcv_fastopen_synack(). The fix is to use
total_retrans instead which accounts for SYN retransmission regardless
the use of F-RTO.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/wanrouter')
0 files changed, 0 insertions, 0 deletions