git: e88412d89b4e - main - Opps sorry, typo in the cc_cubic fix when morphing it from nreno.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Apr 2022 12:37:32 UTC
The branch main has been updated by rrs:
URL: https://cgit.FreeBSD.org/src/commit/?id=e88412d89b4e94d2095fc5615b877a4fdd8f2af2
commit e88412d89b4e94d2095fc5615b877a4fdd8f2af2
Author: Randall Stewart <rrs@FreeBSD.org>
AuthorDate: 2022-04-01 12:37:04 +0000
Commit: Randall Stewart <rrs@FreeBSD.org>
CommitDate: 2022-04-01 12:37:04 +0000
Opps sorry, typo in the cc_cubic fix when morphing it from nreno.
---
sys/netinet/cc/cc_cubic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/cc/cc_cubic.c b/sys/netinet/cc/cc_cubic.c
index 0291776928d4..1f387df29bde 100644
--- a/sys/netinet/cc/cc_cubic.c
+++ b/sys/netinet/cc/cc_cubic.c
@@ -658,7 +658,7 @@ cubic_rttsample(struct cc_var *ccv, uint32_t usec_rtt, uint32_t rxtcnt, uint32_t
}
if ((cubicd->css_rttsample_count >= hystart_n_rttsamples) &&
(cubicd->css_current_round_minrtt != 0xffffffff) &&
- (cubicd->css_current_round_minrtt < nreno->css_baseline_minrtt) &&
+ (cubicd->css_current_round_minrtt < cubicd->css_baseline_minrtt) &&
(cubicd->css_lastround_minrtt != 0xffffffff)) {
/*
* We were in CSS and the RTT is now less, we