A change in 2.6.28 restored the 2.2 behavior:
https://lkml.org/lkml/2009/6/30/499

Reported-by: lepton <ytht.net@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2012-04-26 08:23:12 +12:00
parent 3326bd1971
commit 3a6548ffb0
1 changed files with 1 additions and 1 deletions

View File

@ -888,7 +888,7 @@ This option should not be used in code intended to be portable.
.B TCP_MAXSEG
.\" Present in Linux 1.0
The maximum segment size for outgoing TCP packets.
In Linux 2.2 and earlier,
In Linux 2.2 and earlier, and in Linux 2.6.28 and later,
if this option is set before connection establishment, it also
changes the MSS value announced to the other end in the initial packet.
Values greater than the (eventual) interface MTU have no effect.