Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 04:21:04 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323478 - head/sys/contrib/ipfilter/netinet
Message-ID:  <201709120421.v8C4L4Fh010780@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) {



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