From 84ed5c349cff6f374a3777c8f3d9405083ec7f2e Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Sun, 22 Mar 2015 19:44:28 +0100 Subject: [PATCH] tcp.7: Minor fixes to Peter Adkins patch Signed-off-by: Michael Kerrisk --- man7/tcp.7 | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/man7/tcp.7 b/man7/tcp.7 index 794c636d6..2d226a21d 100644 --- a/man7/tcp.7 +++ b/man7/tcp.7 @@ -534,12 +534,19 @@ very low memory (<= 32Mb). Prior to Linux 2.6.20, .\" commit 72a3effaf633bcae9034b7e176bdbd78d64a71db it was recommended that if this needed to be increased above 1024, -the size of the SYNACK hash table (TCP_SYNQ_HSIZE) in +the size of the SYNACK hash table +.RB ( TCP_SYNQ_HSIZE ) +in .I include/net/tcp.h -be modified to keep -TCP_SYNQ_HSIZE*16<=tcp_max_syn_backlog, and the kernel be -recompiled. In Linux 2.6.20, the fixed sized TCP_SYNQ_HSIZE was removed -in favour of dynamic sizing. +should be modified to keep + + TCP_SYNQ_HSIZE * 16 <= tcp_max_syn_backlog + +and the kernel should be +recompiled. +In Linux 2.6.20, the fixed sized +.B TCP_SYNQ_HSIZE +was removed in favor of dynamic sizing. .TP .IR tcp_max_tw_buckets " (integer; default: see below; since Linux 2.4)" .\" Since 2.3.41