tcp: account SYN-ACK timeouts & retransmissions
authorOctavian Purdila <opurdila@ixiacom.com>
Mon, 18 Jan 2010 03:09:39 +0000 (19:09 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jan 2010 03:09:39 +0000 (19:09 -0800)
commit72659ecce68588b74f6c46862c2b4cec137d7a5a
tree791c5900e2a2b219774904cef7fab90fa462b81c
parent0ec00f0392b807d57a2281576a96552d7694b6bb
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>
include/net/request_sock.h
include/net/tcp.h
net/ipv4/inet_connection_sock.c
net/ipv4/tcp_ipv4.c
net/ipv4/tcp_timer.c
net/ipv6/tcp_ipv6.c