git: baf6ef6951bb - stable/13 - netinet: Fix a common typo in source code comments
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Dec 2021 15:54:36 UTC
The branch stable/13 has been updated by gbe (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=baf6ef6951bbf53a3320479920635815c9559847
commit baf6ef6951bbf53a3320479920635815c9559847
Author: Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2021-11-30 09:37:20 +0000
Commit: Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2021-12-03 15:53:56 +0000
netinet: Fix a common typo in source code comments
- s/segement/segment/
(cherry picked from commit 1dadeab36762c26f92f60bc43b1bf3854aa13d88)
---
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 4e1480f2c002..bcfb8a809e1b 100644
--- a/sys/netinet/tcp_lro.c
+++ b/sys/netinet/tcp_lro.c
@@ -992,7 +992,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 c9266aa81d13..febc5a5521c5 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 a09789bacfbd..8b9b62fb51d8 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