From d843e777a5f321d9eac702bf85f580faee1291cd Mon Sep 17 00:00:00 2001 From: Gordon Bergling Date: Wed, 3 Nov 2021 16:21:49 +0100 Subject: [PATCH] netinet: Fix a common typo in source code comments - s/writting/writing/ (cherry picked from commit bb91496a85176cfc005cf141fe1262c9ad5507d4) --- sys/netinet/sctputil.c | 4 ++-- sys/netinet/tcp_subr.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/netinet/sctputil.c b/sys/netinet/sctputil.c index a598741f062..42e91e10a0d 100644 --- a/sys/netinet/sctputil.c +++ b/sys/netinet/sctputil.c @@ -7456,7 +7456,7 @@ sctp_over_udp_stop(void) { /* * This function assumes sysctl caller holds sctp_sysctl_info_lock() - * for writting! + * for writing! */ #ifdef INET if (SCTP_BASE_INFO(udp4_tun_socket) != NULL) { @@ -7485,7 +7485,7 @@ sctp_over_udp_start(void) #endif /* * This function assumes sysctl caller holds sctp_sysctl_info_lock() - * for writting! + * for writing! */ port = SCTP_BASE_SYSCTL(sctp_udp_tunneling_port); if (ntohs(port) == 0) { diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c index c3afb3a1567..f435ced03e0 100644 --- a/sys/netinet/tcp_subr.c +++ b/sys/netinet/tcp_subr.c @@ -719,7 +719,7 @@ tcp_over_udp_stop(void) { /* * This function assumes sysctl caller holds inp_rinfo_lock() - * for writting! + * for writing! */ #ifdef INET if (V_udp4_tun_socket != NULL) { @@ -748,7 +748,7 @@ tcp_over_udp_start(void) #endif /* * This function assumes sysctl caller holds inp_info_rlock() - * for writting! + * for writing! */ port = V_tcp_udp_tunneling_port; if (ntohs(port) == 0) {