• O
    tcp: account SYN-ACK timeouts & retransmissions · 72659ecc
    Octavian Purdila 提交于
    Currently we don't increment SYN-ACK timeouts & retransmissions
    although we do increment the same stats for SYN. We seem to have lost
    the SYN-ACK accounting with the introduction of tcp_syn_recv_timer
    (commit 2248761e in the netdev-vger-cvs tree).
    
    This patch fixes this issue. In the process we also rename the v4/v6
    syn/ack retransmit functions for clarity. We also add a new
    request_socket operations (syn_ack_timeout) so we can keep code in
    inet_connection_sock.c protocol agnostic.
    Signed-off-by: NOctavian Purdila <opurdila@ixiacom.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    72659ecc
tcp_timer.c 15.6 KB