tcp: fix Fast Open snmp over-counting bug
authorYuchung Cheng <ycheng@google.com>
Thu, 19 Nov 2015 02:17:31 +0000 (18:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2015 15:51:12 +0000 (10:51 -0500)
commitdd52bc2b4ed16db66f9347aa263d8f1dc889b4b6
treeffab58ab0e302ad9e32caa65eb718a1e34b9d08e
parent0e45f4da5981895e885dd72fe912a3f8e32bae73
tcp: fix Fast Open snmp over-counting bug

Fix incrementing TCPFastOpenActiveFailed snmp stats multiple times
when the handshake experiences multiple SYN timeouts.

Signed-off-by: Yuchung Cheng <ycheng@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_timer.c