git: 36814092d48a - main - tcp_rack: Fix a few typos in sysctl descriptions and comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 07:14:41 UTC
The branch main has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=36814092d48a0c4220dc9c979882932e6313e618
commit 36814092d48a0c4220dc9c979882932e6313e618
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-04-09 07:04:59 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-04-09 07:13:10 +0000
tcp_rack: Fix a few typos in sysctl descriptions and comments
- s/postion/position/
- s/postions/positions/
- s/repostion/reposition/
MFC after: 5 days
---
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 bb391a49a1fa..f8313ee711c4 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -1469,13 +1469,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),
@@ -5947,7 +5947,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) ||
@@ -8382,7 +8382,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;