summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYuchung Cheng <ycheng@google.com>2016-09-22 02:16:15 +0300
committerDavid S. Miller <davem@davemloft.net>2016-09-22 10:33:01 +0300
commit7e32b44361abc77fbc01f2b97b045c405b2583e5 (patch)
treedb26faa9681668af9678e478ec9aaed6a1b58c01 /include
parentde1d657816c6fbb70f07b01d50ec669dff0d4e60 (diff)
downloadlinux-7e32b44361abc77fbc01f2b97b045c405b2583e5.tar.xz
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions