Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Sep 2017 00:17:54 +0000 (UTC)
From:      Cy Schubert <cy@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: r323694 - in stable: 10/sys/contrib/ipfilter/netinet 11/sys/contrib/ipfilter/netinet
Message-ID:  <201709180017.v8I0HsmV033289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Mon Sep 18 00:17:53 2017
New Revision: 323694
URL: https://svnweb.freebsd.org/changeset/base/323694

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

Modified:
  stable/11/sys/contrib/ipfilter/netinet/ip_state.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/10/sys/contrib/ipfilter/netinet/ip_state.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/11/sys/contrib/ipfilter/netinet/ip_state.c
==============================================================================
--- stable/11/sys/contrib/ipfilter/netinet/ip_state.c	Mon Sep 18 00:13:48 2017	(r323693)
+++ stable/11/sys/contrib/ipfilter/netinet/ip_state.c	Mon Sep 18 00:17:53 2017	(r323694)
@@ -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?201709180017.v8I0HsmV033289>