summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2017-09-18 00:17:53 +0000
committercy <cy@FreeBSD.org>2017-09-18 00:17:53 +0000
commite780e7856024f604a8fa8f0b38565829ce9b63d0 (patch)
tree9ec6f70a542487ba3370e5aa76f1e8cf1527e781
parent5b4c7118aaa6275a1a90a66f4e9191c49c8d78dc (diff)
downloadFreeBSD-src-e780e7856024f604a8fa8f0b38565829ce9b63d0.zip
FreeBSD-src-e780e7856024f604a8fa8f0b38565829ce9b63d0.tar.gz
MFC r323478:
Improve the wording of a comment describing why EAGAIN is the error code.
-rw-r--r--sys/contrib/ipfilter/netinet/ip_state.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/contrib/ipfilter/netinet/ip_state.c b/sys/contrib/ipfilter/netinet/ip_state.c
index 0d90505..b08797e 100644
--- a/sys/contrib/ipfilter/netinet/ip_state.c
+++ b/sys/contrib/ipfilter/netinet/ip_state.c
@@ -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) {
OpenPOWER on IntegriCloud