summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2011-06-08 03:02:11 +0000
committerbz <bz@FreeBSD.org>2011-06-08 03:02:11 +0000
commitb4b3d062cdd5a507afb962caa1fdd9a3d78abf9c (patch)
treef130c445e2148ddf5c6984bab668a12aa338b0e3 /sys/netinet
parentb13895d9ea55e6897b9b5fdd46be2f9bff544d0b (diff)
downloadFreeBSD-src-b4b3d062cdd5a507afb962caa1fdd9a3d78abf9c.zip
FreeBSD-src-b4b3d062cdd5a507afb962caa1fdd9a3d78abf9c.tar.gz
Correct comments and debug logging in ipsec to better match reality.
MFC after: 3 days
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_input.c2
-rw-r--r--sys/netinet/ip_ipsec.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_input.c b/sys/netinet/ip_input.c
index ac1c723..67fcb74 100644
--- a/sys/netinet/ip_input.c
+++ b/sys/netinet/ip_input.c
@@ -488,7 +488,7 @@ tooshort:
}
#ifdef IPSEC
/*
- * Bypass packet filtering for packets from a tunnel (gif).
+ * Bypass packet filtering for packets previously handled by IPsec.
*/
if (ip_ipsec_filtertunnel(m))
goto passin;
diff --git a/sys/netinet/ip_ipsec.c b/sys/netinet/ip_ipsec.c
index 50a6ce4..a3c87f5 100644
--- a/sys/netinet/ip_ipsec.c
+++ b/sys/netinet/ip_ipsec.c
@@ -95,7 +95,7 @@ ip_ipsec_filtertunnel(struct mbuf *m)
#if defined(IPSEC)
/*
- * Bypass packet filtering for packets from a tunnel.
+ * Bypass packet filtering for packets previously handled by IPsec.
*/
if (!V_ip4_ipsec_filtertunnel &&
m_tag_find(m, PACKET_TAG_IPSEC_IN_DONE, NULL) != NULL)
OpenPOWER on IntegriCloud