TCP BBR: fix condition when sending a tail loss probe

Reviewed by:		rrs
CID:			1523793
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D48274

(cherry picked from commit 5ec914e06c96ff40bf0e6567359c0de039b59ed2)
This commit is contained in:
Michael Tuexen 2024-12-31 22:03:13 +01:00
parent 3520068b47
commit 8ef4a2cfb3

View file

@ -4613,7 +4613,7 @@ need_retran:
*/
if (collapsed_win == 0) {
rsm = TAILQ_LAST_FAST(&bbr->r_ctl.rc_map, bbr_sendmap, r_next);
if (rsm && (BBR_ACKED | BBR_HAS_FIN)) {
if (rsm && (rsm->r_flags & (BBR_ACKED | BBR_HAS_FIN))) {
rsm = bbr_find_high_nonack(bbr, rsm);
}
if (rsm == NULL) {