]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfc7c68dfd0d919184f79d8054b82d12dfa61b597
treef16e00e81bc17fdf6b257b38a85c048d34faf692
parent3c680d90dc361e5e8dc1bb5297d44997516f1237
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