Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jan 2018 07:19:07 +0000 (UTC)
From:      Patrick Kelsey <pkelsey@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328391 - in stable/11/sys: net sys
Message-ID:  <201801250719.w0P7J73I067547@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkelsey
Date: Thu Jan 25 07:19:07 2018
New Revision: 328391
URL: https://svnweb.freebsd.org/changeset/base/328391

Log:
  MFC of r316630, r316631, r316632, r316633, r316634
  
  Fixed various typos.

Modified:
  stable/11/sys/net/if_epair.c
  stable/11/sys/net/rtsock.c
  stable/11/sys/sys/event.h
  stable/11/sys/sys/mbuf.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/net/if_epair.c
==============================================================================
--- stable/11/sys/net/if_epair.c	Thu Jan 25 06:37:14 2018	(r328390)
+++ stable/11/sys/net/if_epair.c	Thu Jan 25 07:19:07 2018	(r328391)
@@ -402,8 +402,8 @@ epair_start_locked(struct ifnet *ifp)
 		return;
 
 	/*
-	 * We get patckets here from ether_output via if_handoff()
-	 * and ned to put them into the input queue of the oifp
+	 * We get packets here from ether_output via if_handoff()
+	 * and need to put them into the input queue of the oifp
 	 * and call oifp->if_input() via netisr/epair_sintr().
 	 */
 	oifp = sc->oifp;

Modified: stable/11/sys/net/rtsock.c
==============================================================================
--- stable/11/sys/net/rtsock.c	Thu Jan 25 06:37:14 2018	(r328390)
+++ stable/11/sys/net/rtsock.c	Thu Jan 25 07:19:07 2018	(r328391)
@@ -728,7 +728,7 @@ route_output(struct mbuf *m, struct socket *so, ...)
 		if (info.rti_info[RTAX_NETMASK] == NULL &&
 		    rtm->rtm_type == RTM_GET) {
 			/*
-			 * Provide logest prefix match for
+			 * Provide longest prefix match for
 			 * address lookup (no mask).
 			 * 'route -n get addr'
 			 */

Modified: stable/11/sys/sys/event.h
==============================================================================
--- stable/11/sys/sys/event.h	Thu Jan 25 06:37:14 2018	(r328390)
+++ stable/11/sys/sys/event.h	Thu Jan 25 07:19:07 2018	(r328391)
@@ -171,7 +171,7 @@ struct knlist {
 #define	KNF_LISTLOCKED	0x0001			/* knlist is locked */
 #define	KNF_NOKQLOCK	0x0002			/* do not keep KQ_LOCK */
 
-#define KNOTE(list, hist, flags)	knote(list, hist, flags)
+#define KNOTE(list, hint, flags)	knote(list, hint, flags)
 #define KNOTE_LOCKED(list, hint)	knote(list, hint, KNF_LISTLOCKED)
 #define KNOTE_UNLOCKED(list, hint)	knote(list, hint, 0)
 

Modified: stable/11/sys/sys/mbuf.h
==============================================================================
--- stable/11/sys/sys/mbuf.h	Thu Jan 25 06:37:14 2018	(r328390)
+++ stable/11/sys/sys/mbuf.h	Thu Jan 25 07:19:07 2018	(r328391)
@@ -472,7 +472,7 @@ void sf_ext_free_nocache(void *, void *);
 #define	CSUM_L4_VALID		0x08000000	/* checksum is correct */
 #define	CSUM_L5_CALC		0x10000000	/* calculated layer 5 csum */
 #define	CSUM_L5_VALID		0x20000000	/* checksum is correct */
-#define	CSUM_COALESED		0x40000000	/* contains merged segments */
+#define	CSUM_COALESCED		0x40000000	/* contains merged segments */
 
 /*
  * CSUM flag description for use with printf(9) %b identifier.
@@ -483,7 +483,7 @@ void sf_ext_free_nocache(void *, void *);
     "\12CSUM_IP6_UDP\13CSUM_IP6_TCP\14CSUM_IP6_SCTP\15CSUM_IP6_TSO" \
     "\16CSUM_IP6_ISCSI" \
     "\31CSUM_L3_CALC\32CSUM_L3_VALID\33CSUM_L4_CALC\34CSUM_L4_VALID" \
-    "\35CSUM_L5_CALC\36CSUM_L5_VALID\37CSUM_COALESED"
+    "\35CSUM_L5_CALC\36CSUM_L5_VALID\37CSUM_COALESCED"
 
 /* CSUM flags compatibility mappings. */
 #define	CSUM_IP_CHECKED		CSUM_L3_CALC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801250719.w0P7J73I067547>