svn commit: r323478 - head/sys/contrib/ipfilter/netinet

Cy Schubert cy at FreeBSD.org
Tue Sep 12 04:21:06 UTC 2017


Author: cy
Date: Tue Sep 12 04:21:04 2017
New Revision: 323478
URL: https://svnweb.freebsd.org/changeset/base/323478

Log:
  Improve the wording of a comment describing why EAGAIN is the error code.
  
  MFC after:	3 days

Modified:
  head/sys/contrib/ipfilter/netinet/ip_state.c

Modified: head/sys/contrib/ipfilter/netinet/ip_state.c
==============================================================================
--- head/sys/contrib/ipfilter/netinet/ip_state.c	Tue Sep 12 03:54:04 2017	(r323477)
+++ head/sys/contrib/ipfilter/netinet/ip_state.c	Tue Sep 12 04:21:04 2017	(r323478)
@@ -1383,10 +1383,10 @@ ipf_state_add(softc, fin, stsave, flags)
 	int out;
 
 	/*
-	 * If a packet that was created locally is trying to go out but we
-	 * do not match here here because of this lock, it is likely that
-	 * the policy will block it and return network unreachable back up
-	 * the stack. To mitigate this error, EAGAIN is returned instead,
+	 * If a locally created packet is trying to egress but it
+	 * does not match because of this lock, it is likely that
+	 * the policy will block it and return network unreachable further
+	 * up the stack. To mitigate this error, EAGAIN is returned instead,
 	 * telling the IP stack to try sending this packet again later.
 	 */
 	if (softs->ipf_state_lock) {


More information about the svn-src-head mailing list