HomeFreeBSD

Prevent premature shrinking of the scaled receive window

Description

Prevent premature shrinking of the scaled receive window
which can cause a TCP client to use invalid or stale TCP sequence numbers for ACK packets.

Packets with old sequence numbers are ignored and not used to update the send window size.
This might cause the TCP session to hang indefinitely under some circumstances.

Reported by: Cui Cheng
Reviewed by: tuexen (mentor), rgrimes (mentor)
Approved by: tuexen (mentor), rgrimes (mentor)
MFC after: 3 weeks
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D24515

Details

Provenance
rscheffAuthored on Apr 29 2020, 10:01 PM
Parents
rG8c61eb2107c5: Convert more rtentry field accesses into nhop fields accesses.
Branches
Unknown
Tags
Unknown

Event Timeline