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) {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to