CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/11/08 05:14:17

Modified files:
        sys/netinet    : tcp_output.c 

Log message:
Do not advance snd_nxt and snd_max for TCP SACK retransmits.

In the SACK case, the calculation that decided whether we should
adjust snd_nxt and snd_max was wrong.  Use the same logic as FreeBSD
and NetBSD, and never advance them when retransmitting a SACK hole.
This may delay a FIN packet in a corner case, but the logic gets
much simpler.  Also simplify the SACK checks, sack_rxmit is only
set if tp->sack_enable is true.

reported by OpenAI; OK sashan@

Reply via email to