tcp_rack: Fix a few typos in sysctl descriptions and comments
- s/postion/position/ - s/postions/positions/ - s/repostion/reposition/ MFC after: 5 days
This commit is contained in:
parent
1f2aaef29a
commit
36814092d4
@ -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 @@ rack_proc_sack_blk(struct tcpcb *tp, struct tcp_rack *rack, struct sackblk *sack
|
||||
} else {
|
||||
/*
|
||||
* The end goes beyond this guy
|
||||
* repostion the start to the
|
||||
* reposition the start to the
|
||||
* next block.
|
||||
*/
|
||||
start = rsm->r_end;
|
||||
|
Loading…
Reference in New Issue
Block a user