git: 5e5087a127b1 - stable/14 - tcp: remove references to Lock(b)

From: Michael Tuexen <tuexen_at_FreeBSD.org>
Date: Fri, 05 Sep 2025 06:40:19 UTC
The branch stable/14 has been updated by tuexen:

URL: https://cgit.FreeBSD.org/src/commit/?id=5e5087a127b1eec83dc663f687dd3b1cd051740c

commit 5e5087a127b1eec83dc663f687dd3b1cd051740c
Author:     Peter Lei <peterlei@netflix.com>
AuthorDate: 2025-06-26 14:05:05 +0000
Commit:     Michael Tuexen <tuexen@FreeBSD.org>
CommitDate: 2025-09-05 06:39:35 +0000

    tcp: remove references to Lock(b)
    
    Reviewed by:    tuexen
    Sponsored by:   Netflix, Inc.
    
    (cherry picked from commit 41c1db8a4daae24dff545ee2d20ba6ffe8abd625)
---
 sys/netinet/tcp_stacks/tcp_bbr.h  | 2 --
 sys/netinet/tcp_stacks/tcp_rack.h | 4 +---
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys/netinet/tcp_stacks/tcp_bbr.h b/sys/netinet/tcp_stacks/tcp_bbr.h
index f88efe3c9ef9..10ddd12bda75 100644
--- a/sys/netinet/tcp_stacks/tcp_bbr.h
+++ b/sys/netinet/tcp_stacks/tcp_bbr.h
@@ -347,8 +347,6 @@ struct bbr_log_sysctl_out {
 /*
  * Locking for the rack control block.
  * a) Locked by INP_WLOCK
- * b) Locked by the hpts-mutex
- *
  */
 #define BBR_STATE_STARTUP   0x01
 #define BBR_STATE_DRAIN     0x02
diff --git a/sys/netinet/tcp_stacks/tcp_rack.h b/sys/netinet/tcp_stacks/tcp_rack.h
index 1251dabbed37..aa232c183dd5 100644
--- a/sys/netinet/tcp_stacks/tcp_rack.h
+++ b/sys/netinet/tcp_stacks/tcp_rack.h
@@ -315,8 +315,6 @@ extern counter_u64_t rack_opts_arry[RACK_OPTS_SIZE];
 /*
  * Locking for the rack control block.
  * a) Locked by INP_WLOCK
- * b) Locked by the hpts-mutex
- *
  */
 #define RACK_GP_HIST 4	/* How much goodput history do we maintain? */
 
@@ -596,7 +594,7 @@ struct rack_control {
 
 struct tcp_rack {
 	/* First cache line 0x00 */
-	TAILQ_ENTRY(tcp_rack) r_hpts;	/* hptsi queue next Lock(b) */
+	TAILQ_ENTRY(tcp_rack) r_hpts;	/* unused */
 	int32_t(*r_substate) (struct mbuf *, struct tcphdr *,
 	    struct socket *, struct tcpcb *, struct tcpopt *,
 	    int32_t, int32_t, uint32_t, int, int, uint8_t);	/* Lock(a) */