TCP BBR: fix condition when sending a tail loss probe

Reviewed by:		rrs
CID:			1523793
MFC after:		1 week
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D48274
This commit is contained in:
Michael Tuexen 2024-12-31 22:03:13 +01:00
parent 0ce13b1d58
commit 5ec914e06c

View file

@ -4614,7 +4614,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) {