|
@@ -5649,8 +5649,7 @@ static bool tcp_rcv_fastopen_synack(struct sock *sk, struct sk_buff *synack,
|
|
|
* the remote receives only the retransmitted (regular) SYNs: either
|
|
|
* the original SYN-data or the corresponding SYN-ACK is lost.
|
|
|
*/
|
|
|
- syn_drop = (cookie->len <= 0 && data &&
|
|
|
- inet_csk(sk)->icsk_retransmits);
|
|
|
+ syn_drop = (cookie->len <= 0 && data && tp->total_retrans);
|
|
|
|
|
|
tcp_fastopen_cache_set(sk, mss, cookie, syn_drop);
|
|
|
|