HomeFreeBSD

tcp: fix detection of bad RTOs

Description

tcp: fix detection of bad RTOs

If timestamps are enabled, the actions performed by a retransmission
timeout were rolled back, when they should not.
It is needed to make sure the incoming segment advances SND.UNA.
To do this, remove the incorrect upfront check and extend the check in
the fast path to handle also the case of timestamps.

PR: 282605
Reviewed by: cc, rscheff, Peter Lei
MFC after: 3 days
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D49414

Details

Provenance
tuexenAuthored on Thu, Mar 20, 3:17 PM
Reviewer
cc
Differential Revision
D49414: tcp: fix detection of bad RTOs
Parents
rGfdc4db57224c: usr.bin/Makefile: always build ELF Tool Chain strings(1)
Branches
Unknown
Tags
Unknown