git: cbd17b66e64e - stable/15 - tcp bbr: improve handling of retransmissions in LAST-ACK
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Nov 2026 10:45:04 UTC
The branch stable/15 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=cbd17b66e64e9bdf025200c4993b8aeae6a0ebe9
commit cbd17b66e64e9bdf025200c4993b8aeae6a0ebe9
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2026-11-15 21:13:50 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2026-11-24 09:56:21 +0000
tcp bbr: improve handling of retransmissions in LAST-ACK
When performing a timer based retransmission, clear the
BBR_RWND_COLLAPSED flag. If it sticks, t_rxtshift is never incremented
resulting in unlimited retransmissions in the LAST-ACK state.
Reported by: Illia Vynohradov
Reviewed by: Peter Lei
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D61586
(cherry picked from commit 3c6fd437b1824caeddb5f0d4570d43cf0c999c14)
---
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 9dc560ca5643..275728d29e8a 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -4913,7 +4913,7 @@ bbr_remxt_tmr(struct tcpcb *tp)
rsm->r_flags &= ~BBR_SACK_PASSED;
}
rsm->r_flags |= BBR_MARKED_LOST;
- rsm->r_flags &= ~BBR_WAS_SACKPASS;
+ rsm->r_flags &= ~(BBR_WAS_SACKPASS | BBR_RWND_COLLAPSED);
}
trsm = rsm;
}