HomeFreeBSD

tcp: fix cwnd restricted SACK retransmission loop

Description

tcp: fix cwnd restricted SACK retransmission loop

While doing the initial SACK retransmission segment while heavily cwnd
constrained, tcp_ouput can erroneously send out the entire sendbuffer
again. This may happen after an retransmission timeout, which resets
snd_nxt to snd_una while the SACK scoreboard is still populated.

Reviewed By: tuexen, transport
PR: 264257
PR: 263445
PR: 260393
MFC after: 3 days
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D36637

(cherry picked from commit a743fc8826fa348b09d219632594c537f8e5690e)

Details

Provenance
rscheffAuthored on Sep 22 2022, 10:55 AM
Reviewer
transport
Differential Revision
D36637: tcp: fix cwnd restricted SACK retransmission loop
Parents
rG9e69e009c86f: tcp: send ACKs when requested
Branches
Unknown
Tags
Unknown