From: Yuchung Cheng Date: Thu, 31 Jan 2013 19:16:46 +0000 (-0800) Subject: tcp: detect SYN/data drop when F-RTO is disabled X-Git-Tag: v3.8-rc7~2^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66555e92fb7a619188c02cceae4bbc414f15f96d;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed