tcp: avoid spurious SYN flood detection at listen() time
authorEric Dumazet <edumazet@google.com>
Wed, 14 Oct 2015 13:16:49 +0000 (06:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Oct 2015 02:06:32 +0000 (19:06 -0700)
commitf985c65c908f6b26c30019a83dc5ea295f5fcf62
treef16e00e81bc17fdf6b257b38a85c048d34faf692
parentc2f34a65a61cd1ace3b53c93e8b38d2f79f4ff0d
tcp: avoid spurious SYN flood detection at listen() time

At listen() time, there is a small window where listener is visible with
a zero backlog, triggering a spurious "Possible SYN flooding on port"
message.

Nothing prevents us from setting the correct backlog.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_connection_sock.h
net/ipv4/inet_connection_sock.c