diff options
author | Yuchung Cheng <ycheng@google.com> | 2019-01-16 18:05:31 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-17 18:12:26 -0500 |
commit | c7d13c8faa74f4e8ef191f88a252cefab6805b38 (patch) | |
tree | 7735bcd0953efa72c57f5c53ee53d86986de0f0c /net/ipv4/tcp_output.c | |
parent | 7ae189759cc48cf8b54beebff566e9fd2d4e7d7c (diff) |
tcp: properly track retry time on passive Fast Open
This patch addresses a corner issue on timeout behavior of a
passive Fast Open socket. A passive Fast Open server may write
and close the socket when it is re-trying SYN-ACK to complete
the handshake. After the handshake is completely, the server does
not properly stamp the recovery start time (tp->retrans_stamp is
0), and the socket may abort immediately on the very first FIN
timeout, instead of retying until it passes the system or user
specified limit.
Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Neal Cardwell <ncardwell@google.com>
Reviewed-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions