git: c93db89231fe - main - rack: Fix a typo in a source code comment
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Jun 2022 13:33:08 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=c93db89231fedd4afe64915cf8dcad89bfdd3c94
commit c93db89231fedd4afe64915cf8dcad89bfdd3c94
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-06-04 13:32:59 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-06-04 13:32:59 +0000
rack: Fix a typo in a source code comment
- s/enought/enough/
MFC after: 3 days
---
sys/netinet/tcp_stacks/rack.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 40bd0007b390..cdfd9541fb53 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -4282,7 +4282,7 @@ rack_do_goodput_measurement(struct tcpcb *tp, struct tcp_rack *rack,
addpart = rack->r_ctl.num_measurements;
rack->r_ctl.num_measurements++;
if (rack->r_ctl.num_measurements >= RACK_REQ_AVG) {
- /* We have collected enought to move forward */
+ /* We have collected enough to move forward */
rack->r_ctl.gp_bw /= (uint64_t)rack->r_ctl.num_measurements;
}
did_add = 3;