git: 8ef4a2cfb30d - stable/14 - TCP BBR: fix condition when sending a tail loss probe
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Feb 2025 20:30:38 UTC
The branch stable/14 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=8ef4a2cfb30d2f980cfd330853b1963ce03892cb
commit 8ef4a2cfb30d2f980cfd330853b1963ce03892cb
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2024-12-31 21:03:13 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-02-05 09:31:01 +0000
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)
---
sys/netinet/tcp_stacks/bbr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 47b4a1bddc6c..b9cfdf312c8c 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -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) {