netinet: Fix a common typo in source code comments

- s/writting/writing/

MFC after:	3 days
This commit is contained in:
Gordon Bergling 2021-11-03 16:21:49 +01:00
parent a506133ac9
commit bb91496a85
2 changed files with 4 additions and 4 deletions

View File

@ -7458,7 +7458,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) {
@ -7487,7 +7487,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

@ -774,7 +774,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) {
@ -803,7 +803,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) {