git: 1dadeab36762 - main - netinet: Fix a common typo in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Tue, 30 Nov 2021 09:42:18 UTC
The branch main has been updated by gbe (doc committer):

URL: https://cgit.FreeBSD.org/src/commit/?id=1dadeab36762c26f92f60bc43b1bf3854aa13d88

commit 1dadeab36762c26f92f60bc43b1bf3854aa13d88
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-11-30 09:37:20 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-11-30 09:37:20 +0000

    netinet: Fix a common typo in source code comments
    
    - s/segement/segment/
    
    MFC after:      3 days
---
 sys/netinet/tcp_lro.c         | 2 +-
 sys/netinet/tcp_stacks/bbr.c  | 2 +-
 sys/netinet/tcp_stacks/rack.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/netinet/tcp_lro.c b/sys/netinet/tcp_lro.c
index ea23ad75994d..08556009b8c4 100644
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -1030,7 +1030,7 @@ again:
 	}
 	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;
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 718f4ddc2a56..eb64a28f8565 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -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
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 30c8e18f2adb..a17e598f6477 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -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