git: c3679af31352 - main - tcp_rack: Correct some typos in source code comments

From: Gordon Bergling <gbe_at_FreeBSD.org>
Date: Sun, 04 Sep 2022 10:58:27 UTC
The branch main has been updated by gbe (doc committer):

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

commit c3679af3135202fbe0a5ddb9e27f831e49f1acd4
Author:     Gordon Bergling <gbe@FreeBSD.org>
AuthorDate: 2022-09-04 10:58:13 +0000
Commit:     Gordon Bergling <gbe@FreeBSD.org>
CommitDate: 2022-09-04 10:58:13 +0000

    tcp_rack: Correct some typos in source code comments
    
    - s/occured/occurred/
    
    MFC after:      3 days
---
 sys/netinet/tcp_stacks/tcp_rack.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/netinet/tcp_stacks/tcp_rack.h b/sys/netinet/tcp_stacks/tcp_rack.h
index c747ceac7628..798a1ba4364f 100644
--- a/sys/netinet/tcp_stacks/tcp_rack.h
+++ b/sys/netinet/tcp_stacks/tcp_rack.h
@@ -29,7 +29,7 @@
 #define _NETINET_TCP_RACK_H_
 
 #define RACK_ACKED	    0x000001/* The remote endpoint acked this */
-#define RACK_TO_REXT	    0x000002/* A timeout occured on this sendmap entry */
+#define RACK_TO_REXT	    0x000002/* A timeout occurred on this sendmap entry */
 #define RACK_DEFERRED	    0x000004/* We can't use this for RTT calc - not used */
 #define RACK_OVERMAX	    0x000008/* We have more retran's then we can fit */
 #define RACK_SACK_PASSED    0x000010/* A sack was done above this block */
@@ -490,7 +490,7 @@ struct rack_control {
 	uint32_t retran_during_recovery;
 	uint32_t rc_gp_lowrtt;			/* Lowest rtt seen during GPUT measurement */
 	uint32_t rc_gp_high_rwnd;		/* Highest rwnd seen during GPUT measurement */
-	uint32_t rc_snd_max_at_rto;	/* For non-sack when the RTO occured what was snd-max */
+	uint32_t rc_snd_max_at_rto;	/* For non-sack when the RTO occurred what was snd-max */
 	uint32_t rc_out_at_rto;
 	int32_t rc_scw_index;
 	uint32_t rc_tlp_threshold;	/* Socket option value Lock(a) */