Page MenuHomeFreeBSD

tcp: stop spurious rescue retransmissions
ClosedPublic

Authored by rscheff on Apr 25 2021, 11:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 1, 2:10 PM
Unknown Object (File)
Tue, Mar 18, 12:11 AM
Unknown Object (File)
Feb 25 2025, 6:54 AM
Unknown Object (File)
Feb 22 2025, 8:56 AM
Unknown Object (File)
Feb 19 2025, 8:55 PM
Unknown Object (File)
Feb 11 2025, 2:54 AM
Unknown Object (File)
Jan 14 2025, 12:21 PM
Unknown Object (File)
Jan 14 2025, 12:08 PM
Subscribers

Details

Summary

As stale data from a prior SACK loss recovery episode persists,
a subsequent reordering event may trigger a spurious rescue
retransmission, which in turn misbehaves due to other stale
data.

To prevent sending an erraneous rescue retransmission, clear
the sackhint.delivered_data value, once finished with a SACK
loss recovery.

Furthermore, initialize snd_fack to th_ack on a partial ack,
to pull it forward from whereever the last proper SACK may
have been.

Test Plan

Perform long-duration testing with a low background of packet
reordering and very few losses (or sufficient reordering for
dupthresh to be exceeded).

Reported by: pho@
MFC after: 3 days
Sponsored by: NetApp, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable