Yuchung Cheng 7e32b44361 tcp: properly account Fast Open SYN-ACK retrans
Since the TFO socket is accepted right off SYN-data, the socket
owner can call getsockopt(TCP_INFO) to collect ongoing SYN-ACK
retransmission or timeout stats (i.e., tcpi_total_retrans,
tcpi_retransmits). Currently those stats are only updated
upon handshake completes. This patch fixes it.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-09-22 03:33:01 -04:00
..
2015-08-25 13:38:50 -07:00
2016-04-27 22:48:24 -04:00
2016-06-08 11:36:02 -07:00
2016-04-27 22:48:23 -04:00
2016-08-15 13:37:12 -07:00
2016-07-09 17:45:56 -04:00
2016-06-10 23:07:49 -07:00
2016-06-10 23:07:49 -07:00
2016-06-10 23:07:49 -07:00
2015-09-17 17:18:37 -07:00
2013-05-31 17:19:05 -07:00