HomeFreeBSD

tcp: add sysctl to tolerate TCP segments missing timestamps

Description

tcp: add sysctl to tolerate TCP segments missing timestamps

When timestamp support has been negotiated, TCP segements received
without a timestamp should be discarded. However, there are broken
TCP implementations (for example, stacks used by Omniswitch 63xx and
64xx models), which send TCP segments without timestamps although
they negotiated timestamp support.
This patch adds a sysctl variable which tolerates such TCP segments
and allows to interoperate with broken stacks.

Reviewed by: jtl@, rscheff@
Differential Revision: https://reviews.freebsd.org/D28142
Sponsored by: Netflix, Inc.
PR: 252449

(cherry picked from commit d2b3ceddccac60b563f642898e3a314647666a10)

Details

Provenance
tuexenAuthored on Jan 13 2021, 9:48 PM
Differential Revision
D28142: tcp: add sysctl to tolerate TCP segments missing timestamps
Parents
rGd05d908d6d3c: tcp: fix handling of TCP RST segments missing timestamps
Branches
Unknown
Tags
Unknown