git: c6f745a3e334 - stable/14 - TCP BBR: remove dead code
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 05 Feb 2025 20:56:58 UTC
The branch stable/14 has been updated by tuexen:
URL: https://cgit.FreeBSD.org/src/commit/?id=c6f745a3e33430e83af1d09e96fc670be6ae2118
commit c6f745a3e33430e83af1d09e96fc670be6ae2118
Author: Michael Tuexen <tuexen@FreeBSD.org>
AuthorDate: 2025-01-06 20:25:58 +0000
Commit: Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-02-05 09:56:52 +0000
TCP BBR: remove dead code
No functional change intended.
Reviewed by: rrs
CID: 1523808
Sponsored by: Netflix, Inc.
Differential Revision: https://reviews.freebsd.org/D48338
(cherry picked from commit 061727efe1e355fb2fde1b05e92718543d05bfe7)
---
sys/netinet/tcp_stacks/bbr.c | 8 --------
1 file changed, 8 deletions(-)
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 73751e984125..ce13ec9a54a2 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -978,14 +978,6 @@ bbr_timer_audit(struct tcpcb *tp, struct tcp_bbr *bbr, uint32_t cts, struct sock
* and we do
*/
return;
- } else if (sbavail(&inp->inp_socket->so_snd) &&
- (tmr_up == PACE_TMR_RXT)) {
- /*
- * if we hit enobufs then we would expect the
- * possibility of nothing outstanding and the RXT up
- * (and the hptsi timer).
- */
- return;
} else if (((V_tcp_always_keepalive ||
inp->inp_socket->so_options & SO_KEEPALIVE) &&
(tp->t_state <= TCPS_CLOSING)) &&