]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit98c310b1f61a340a4729fafc798f5c8848da9412
treeffab58ab0e302ad9e32caa65eb718a1e34b9d08e
parentdf785d7582ce5659df23a3a33c3a9ab0530bcc05
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