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)
Dec 5 2024, 7:00 PM
Unknown Object (File)
Nov 12 2024, 4:54 AM
Unknown Object (File)
Nov 3 2024, 12:42 AM
Unknown Object (File)
Oct 26 2024, 11:34 AM
Unknown Object (File)
Oct 23 2024, 1:36 PM
Unknown Object (File)
Oct 8 2024, 7:38 PM
Unknown Object (File)
Oct 8 2024, 1:55 PM
Unknown Object (File)
Oct 8 2024, 8:29 AM
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