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
commit965681ee8a6f96f83f326547fb469a144b02cdbe (patch)
treed827c1930f314e240e16acf72946ac41821c378d
parenta77b20f8b3b8fab081d9309ff9ca32d1bb16677b (diff)
downloadFreeBSD-src-965681ee8a6f96f83f326547fb469a144b02cdbe.zip
FreeBSD-src-965681ee8a6f96f83f326547fb469a144b02cdbe.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 a450901..edabfa4 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