tcp.7: Minor fixes to Peter Adkins patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-03-22 19:44:28 +01:00
parent 09fe692d1b
commit 84ed5c349c
1 changed files with 12 additions and 5 deletions

View File

@ -534,12 +534,19 @@ very low memory (<= 32Mb).
Prior to Linux 2.6.20, Prior to Linux 2.6.20,
.\" commit 72a3effaf633bcae9034b7e176bdbd78d64a71db .\" commit 72a3effaf633bcae9034b7e176bdbd78d64a71db
it was recommended that if this needed to be increased above 1024, 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 .I include/net/tcp.h
be modified to keep should 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 TCP_SYNQ_HSIZE * 16 <= tcp_max_syn_backlog
in favour of dynamic sizing.
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 .TP
.IR tcp_max_tw_buckets " (integer; default: see below; since Linux 2.4)" .IR tcp_max_tw_buckets " (integer; default: see below; since Linux 2.4)"
.\" Since 2.3.41 .\" Since 2.3.41