CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2026/11/10 15:49:53

Modified files:
        sys/netinet    : Tag: OPENBSD_8_0 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
from bluhm@; OK sashan@

this is errata/8.0/016_tcpsack.patch.sig

Reply via email to