]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: increase tcp_max_syn_backlog max value
authorEric Dumazet <edumazet@google.com>
Wed, 30 Oct 2019 17:05:46 +0000 (10:05 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Oct 2019 21:02:01 +0000 (14:02 -0700)
commitbb3dc1f467c373f40157c0d18a5738659a1dcbaa
tree53142e1249ec020cf559130f197077fd53c51139
parent05cc053cb52f18078a7a84b0b079402d3bbd7c67
tcp: increase tcp_max_syn_backlog max value

tcp_max_syn_backlog default value depends on memory size
and TCP ehash size. Before this patch, the max value
was 2048 [1], which is considered too small nowadays.

Increase it to 4096 to match the recent SOMAXCONN change.

[1] This is with TCP ehash size being capped to 524288 buckets.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Willy Tarreau <w@1wt.eu>
Cc: Yue Cao <ycao009@ucr.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/networking/ip-sysctl.txt
net/ipv4/tcp_ipv4.c