tcp: ensure prior synack rtx behavior with small backlogs
authorEric Dumazet <edumazet@google.com>
Tue, 6 Oct 2015 21:49:58 +0000 (14:49 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 12:08:58 +0000 (05:08 -0700)
commitacb4a6bfc80ddeea4c44074dd630f916259e909e
treec7745772d9dac017daf2754ed3e46be9149d7659
parent686a562449af96a0e8c18c6f1b87b47ff8c36de8
tcp: ensure prior synack rtx behavior with small backlogs

Some applications use a listen() backlog of 1.

Prior kernels were silently enforcing a qlen_log of 4, so that we were
sending up to /proc/sys/net/ipv4/tcp_synack_retries SYNACK messages.

Fixes: ef547f2ac16b ("tcp: remove max_qlen_log")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c