]> 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)
commit178b0802e9c961c99c127628a5b7ce32057d7f86
tree53142e1249ec020cf559130f197077fd53c51139
parentec2ce7381060fa7a38af89b3d2b73976c7d49a7d
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