summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorandvar <andvar@NetBSD.org>2022-05-28 22:16:43 +0000
committerandvar <andvar@NetBSD.org>2022-05-28 22:16:43 +0000
commit93e1d83524dad135dfd153e87635ecbe70397ebb (patch)
tree53f58f2c037cefd086b41b58352d261e98c8fd25 /sys/netinet
parent051f0471ee6e6db45974cb8415954eb9e52b992e (diff)
fix various typos in comments.
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/sctp_indata.c6
-rw-r--r--sys/netinet/sctp_pcb.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/netinet/sctp_indata.c b/sys/netinet/sctp_indata.c
index 7dde5326e76..48c3a9026a4 100644
--- a/sys/netinet/sctp_indata.c
+++ b/sys/netinet/sctp_indata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sctp_indata.c,v 1.11 2022/05/24 20:50:20 andvar Exp $ */
+/* $NetBSD: sctp_indata.c,v 1.12 2022/05/28 22:16:44 andvar Exp $ */
/* $KAME: sctp_indata.c,v 1.36 2005/03/06 16:04:17 itojun Exp $ */
/*
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.11 2022/05/24 20:50:20 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_indata.c,v 1.12 2022/05/28 22:16:44 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_ipsec.h"
@@ -2263,7 +2263,7 @@ sctp_sack_check(struct sctp_tcb *stcb, int ok_to_sack, int was_a_gap, int *abort
if (all_ones ||
(asoc->cumulative_tsn == asoc->highest_tsn_inside_map && at >= 8)) {
/* The complete array was completed by a single FR */
- /* higest becomes the cum-ack */
+ /* highest becomes the cum-ack */
int clr;
asoc->cumulative_tsn = asoc->highest_tsn_inside_map;
/* clear the array */
diff --git a/sys/netinet/sctp_pcb.c b/sys/netinet/sctp_pcb.c
index fff896b7b6c..d8fb4126cbb 100644
--- a/sys/netinet/sctp_pcb.c
+++ b/sys/netinet/sctp_pcb.c
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.24 2022/05/24 20:50:20 andvar Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.25 2022/05/28 22:16:44 andvar Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.24 2022/05/24 20:50:20 andvar Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.25 2022/05/28 22:16:44 andvar Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -4617,7 +4617,7 @@ sctp_drain_mbufs(struct sctp_inpcb *inp, struct sctp_tcb *stcb)
/*
* Another issue, in un-setting the TSN's in the mapping array we
- * DID NOT adjust the higest_tsn marker. This will cause one of
+ * DID NOT adjust the highest_tsn marker. This will cause one of
* two things to occur. It may cause us to do extra work in checking
* for our mapping array movement. More importantly it may cause us
* to SACK every datagram. This may not be a bad thing though since