aboutsummaryrefslogtreecommitdiff
path: root/sys/contrib/ipfilter/netinet/ip_state.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2017-09-12 04:21:04 +0000
committerCy Schubert <cy@FreeBSD.org>2017-09-12 04:21:04 +0000
commit54e485fd3c339bfc8c97ec179ad0f0247f9f2109 (patch)
treebaaebd877f66980281dcead155e0ae0ee800e06e /sys/contrib/ipfilter/netinet/ip_state.c
parent813c1b27fe0b9bf79f2ef61c8c58430cb33fb34a (diff)
downloadsrc-54e485fd3c339bfc8c97ec179ad0f0247f9f2109.tar.gz
src-54e485fd3c339bfc8c97ec179ad0f0247f9f2109.zip
Improve the wording of a comment describing why EAGAIN is the error code.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=323478
Diffstat (limited to 'sys/contrib/ipfilter/netinet/ip_state.c')
-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 a450901eec77..edabfa460ad9 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) {