HomeFreeBSD

Fix a regression in the TCP handling of received segments.

Description

Fix a regression in the TCP handling of received segments.
When receiving TCP segments the stack protects itself by limiting
the resources allocated for a TCP connections. This patch adds
an exception to these limitations for the TCP segement which is the next
expected in-sequence segment. Without this patch, TCP connections
may stall and finally fail in some cases of packet loss.

Reported by: jhb@
Reviewed by: jtl@, rrs@
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D18580

Details

Provenance
tuexenAuthored on Dec 20 2018, 4:05 PM
Parents
rGeacff37a611f: Remove setting of long-unused MK_NCP option
Branches
Unknown
Tags
Unknown

Event Timeline