netinet: Fix a common typo in source code comments

- s/writting/writing/

(cherry picked from commit bb91496a85)
This commit is contained in:
Gordon Bergling 2021-11-03 16:21:49 +01:00
parent 16f3658c7d
commit d843e777a5
2 changed files with 4 additions and 4 deletions

View file

@ -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) {

View file

@ -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) {