Skip to content

Commit

Permalink
netinet: Fix a common typo in source code comments
Browse files Browse the repository at this point in the history
- s/segement/segment/

(cherry picked from commit 1dadeab)
  • Loading branch information
gbergling committed Dec 3, 2021
1 parent a24d709 commit baf6ef6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sys/netinet/tcp_lro.c
Original file line number Diff line number Diff line change
Expand Up @@ -992,7 +992,7 @@ tcp_lro_condense(struct lro_ctrl *lc, struct lro_entry *le)
}
if ((th->th_flags & ~(TH_ACK | TH_PUSH)) != 0) {
/*
* Make sure that previously seen segements/ACKs are delivered
* Make sure that previously seen segments/ACKs are delivered
* before this segment, e.g. FIN.
*/
le->m_head->m_nextpkt = m->m_nextpkt;
Expand Down
2 changes: 1 addition & 1 deletion sys/netinet/tcp_stacks/bbr.c
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ int32_t bbr_sends_full_iwnd = 1;
*
* To implement BBR and RACK the original TCP stack was first decomposed
* into a functional state machine with individual states
* for each of the possible TCP connection states. The do_segement
* for each of the possible TCP connection states. The do_segment
* functions role in life is to mandate the connection supports SACK
* initially and then assure that the RACK state matches the conenction
* state before calling the states do_segment function. Data processing
Expand Down
2 changes: 1 addition & 1 deletion sys/netinet/tcp_stacks/rack.c
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ struct sysctl_oid *rack_sysctl_root;
*
* To implement RACK the original TCP stack was first decomposed
* into a functional state machine with individual states
* for each of the possible TCP connection states. The do_segement
* for each of the possible TCP connection states. The do_segment
* functions role in life is to mandate the connection supports SACK
* initially and then assure that the RACK state matches the conenction
* state before calling the states do_segment function. Each
Expand Down

0 comments on commit baf6ef6

Please sign in to comment.