git: abe171cc5c9d - stable/13 - tcp_rack: Fix a few typos in sysctl descriptions and comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Apr 2022 06:00:47 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=abe171cc5c9d5339335dff874af6ecbab9841892
commit abe171cc5c9d5339335dff874af6ecbab9841892
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 07:04:59 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-14 05:57:39 +0000
tcp_rack: Fix a few typos in sysctl descriptions and comments
- s/postion/position/
- s/postions/positions/
- s/repostion/reposition/
(cherry picked from commit 36814092d48a0c4220dc9c979882932e6313e618)
---
sys/netinet/tcp_stacks/rack.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 499eb53ab8c5..cad802e6e3d0 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -1499,13 +1499,13 @@ rack_init_sysctls(void)
SYSCTL_CHILDREN(rack_attack),
OID_AUTO, "move_none", CTLFLAG_RD,
&rack_move_none,
- "Total number of SACK index reuse of postions under threshold");
+ "Total number of SACK index reuse of positions under threshold");
rack_move_some = counter_u64_alloc(M_WAITOK);
SYSCTL_ADD_COUNTER_U64(&rack_sysctl_ctx,
SYSCTL_CHILDREN(rack_attack),
OID_AUTO, "move_some", CTLFLAG_RD,
&rack_move_some,
- "Total number of SACK index reuse of postions over threshold");
+ "Total number of SACK index reuse of positions over threshold");
rack_sack_attacks_detected = counter_u64_alloc(M_WAITOK);
SYSCTL_ADD_COUNTER_U64(&rack_sysctl_ctx,
SYSCTL_CHILDREN(rack_attack),
@@ -6093,7 +6093,7 @@ rack_clone_rsm(struct tcp_rack *rack, struct rack_sendmap *nrsm,
* Now we need to find nrsm's new location in the mbuf chain
* we basically calculate a new offset, which is soff +
* how much is left in original rsm. Then we walk out the mbuf
- * chain to find the righ postion, it may be the same mbuf
+ * chain to find the righ position, it may be the same mbuf
* or maybe not.
*/
KASSERT(((rsm->m != NULL) ||
@@ -8406,7 +8406,7 @@ do_rest_ofb:
} else {
/*
* The end goes beyond this guy
- * repostion the start to the
+ * reposition the start to the
* next block.
*/
start = rsm->r_end;