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/10/sys/contrib/ipfilter/netinet/ip_state.c
Directory Properties:
  stable/10/   (props changed)

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

Modified: stable/10/sys/contrib/ipfilter/netinet/ip_state.c
==============================================================================
--- stable/10/sys/contrib/ipfilter/netinet/ip_state.c   Mon Sep 18 00:13:48 
2017        (r323693)
+++ stable/10/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) {
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to