aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Bergling <gbe@FreeBSD.org>2023-12-27 08:36:30 +0000
committerGordon Bergling <gbe@FreeBSD.org>2023-12-27 08:36:30 +0000
commit7b0b448ba9fd53fb4db81a2309dedfdc47533cfb (patch)
tree755f8b40ce8bb8016466ed2bbfc3a3b00e73babe
parentc58205be7a7d4eb1c68b169bb7fdb57f1e057cc5 (diff)
downloadsrc-7b0b448ba9fd53fb4db81a2309dedfdc47533cfb.tar.gz
src-7b0b448ba9fd53fb4db81a2309dedfdc47533cfb.zip
tcp_stacks: Fix two typos in a source code comments
- s/recieved/received/ MFC after: 3 days
-rw-r--r--sys/netinet/tcp_stacks/bbr.c2
-rw-r--r--sys/netinet/tcp_stacks/rack.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_stacks/bbr.c b/sys/netinet/tcp_stacks/bbr.c
index 5f7c6125c1f0..c643f0321099 100644
--- a/sys/netinet/tcp_stacks/bbr.c
+++ b/sys/netinet/tcp_stacks/bbr.c
@@ -6845,7 +6845,7 @@ bbr_update_rtt(struct tcpcb *tp, struct tcp_bbr *bbr,
* Ok its a SACK block that we retransmitted. or a windows
* machine without timestamps. We can tell nothing from the
* time-stamp since its not there or the time the peer last
- * recieved a segment that moved forward its cum-ack point.
+ * received a segment that moved forward its cum-ack point.
*
* Lets look at the last retransmit and see what we can tell
* (with BBR for space we only keep 2 note we have to keep
diff --git a/sys/netinet/tcp_stacks/rack.c b/sys/netinet/tcp_stacks/rack.c
index 229f36008a6a..8e374e28465e 100644
--- a/sys/netinet/tcp_stacks/rack.c
+++ b/sys/netinet/tcp_stacks/rack.c
@@ -9145,7 +9145,7 @@ rack_update_rtt(struct tcpcb *tp, struct tcp_rack *rack,
* Ok its a SACK block that we retransmitted. or a windows
* machine without timestamps. We can tell nothing from the
* time-stamp since its not there or the time the peer last
- * recieved a segment that moved forward its cum-ack point.
+ * received a segment that moved forward its cum-ack point.
*/
ts_not_found:
i = rsm->r_rtr_cnt - 1;