git: cc41c17433a4 - main - opps my patch lost the removal of the tlp_threshold counter increments

From: Randall Stewart <rrs_at_FreeBSD.org>
Date: Wed, 09 Feb 2022 21:19:54 UTC
The branch main has been updated by rrs:

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

commit cc41c17433a4d3fb8218030b145515c6560875dc
Author:     Randall Stewart <rrs@FreeBSD.org>
AuthorDate: 2022-02-09 21:19:22 +0000
Commit:     Randall Stewart <rrs@FreeBSD.org>
CommitDate: 2022-02-09 21:19:22 +0000

    opps my patch lost the removal of the tlp_threshold counter increments
---
 sys/netinet/tcp_stacks/rack.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 2abaa92dc43a..63a36c716531 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -5007,7 +5007,6 @@ rack_calc_thresh_tlp(struct tcpcb *tp, struct tcp_rack *rack,
 			/*
 			 * Compensate for delayed-ack with the d-ack time.
 			 */
-			counter_u64_add(rack_used_tlpmethod, 1);
 			alt_thresh = srtt + (srtt / 2) + rack_delayed_ack_time;
 			if (alt_thresh > thresh)
 				thresh = alt_thresh;
@@ -5023,7 +5022,6 @@ rack_calc_thresh_tlp(struct tcpcb *tp, struct tcp_rack *rack,
 			uint32_t inter_gap = 0;
 			int idx, nidx;
 
-			counter_u64_add(rack_used_tlpmethod, 1);
 			idx = rsm->r_rtr_cnt - 1;
 			nidx = prsm->r_rtr_cnt - 1;
 			if (rsm->r_tim_lastsent[nidx] >= prsm->r_tim_lastsent[idx]) {
@@ -5037,7 +5035,6 @@ rack_calc_thresh_tlp(struct tcpcb *tp, struct tcp_rack *rack,
 			 */
 			uint32_t alt_thresh;
 
-			counter_u64_add(rack_used_tlpmethod2, 1);
 			alt_thresh = srtt + (srtt / 2) + rack_delayed_ack_time;
 			if (alt_thresh > thresh)
 				thresh = alt_thresh;