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
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D49414

(cherry picked from commit fbcf3b74e8f2c0c5ba37f1839bfe9395eb2fd0b1)

Details

Provenance
tuexenAuthored on Thu, Mar 20, 3:17 PM
Reviewer
cc
Differential Revision
D49414: tcp: fix detection of bad RTOs
Parents
rG53b2f30f9090: bhyve: style, add comma to the last line of designated initializer
Branches
Unknown
Tags
Unknown