tcp: account SYN-ACK timeouts & retransmissions
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:Octavian Purdila <opurdila@ixiacom.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- include/net/request_sock.h 2 additions, 0 deletionsinclude/net/request_sock.h
- include/net/tcp.h 2 additions, 0 deletionsinclude/net/tcp.h
- net/ipv4/inet_connection_sock.c 2 additions, 0 deletionsnet/ipv4/inet_connection_sock.c
- net/ipv4/tcp_ipv4.c 10 additions, 8 deletionsnet/ipv4/tcp_ipv4.c
- net/ipv4/tcp_timer.c 6 additions, 0 deletionsnet/ipv4/tcp_timer.c
- net/ipv6/tcp_ipv6.c 10 additions, 2 deletionsnet/ipv6/tcp_ipv6.c
Loading
Please register or sign in to comment