summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorloos <loos@FreeBSD.org>2016-11-17 14:32:23 +0000
committerLuiz Souza <luiz@netgate.com>2017-07-15 11:08:52 -0500
commit9f4b4c2e952edd89273b7920739a7021ee0ffd57 (patch)
tree192a3da4c43f216626c1c12c8638923a89ca7507
parentb3f0d55157da0bf8daaa07dc7e85ff3b2e331488 (diff)
downloadFreeBSD-src-9f4b4c2e952edd89273b7920739a7021ee0ffd57.zip
FreeBSD-src-9f4b4c2e952edd89273b7920739a7021ee0ffd57.tar.gz
MFC r308237:
Remove the mbuf tag after use (for reinjected packets). Fixes the packet processing in dummynet l2 rules. Obtained from: pfSense Sponsored by: Rubicon Communications, LLC (Netgate) (cherry picked from commit 41e01117ba34cca63862da2cd14fc8bade649d1c)
-rw-r--r--sys/netpfil/ipfw/ip_fw_pfil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netpfil/ipfw/ip_fw_pfil.c b/sys/netpfil/ipfw/ip_fw_pfil.c
index cf03695..f014dfb 100644
--- a/sys/netpfil/ipfw/ip_fw_pfil.c
+++ b/sys/netpfil/ipfw/ip_fw_pfil.c
@@ -318,7 +318,7 @@ ipfw_check_frame(void *arg, struct mbuf **m0, struct ifnet *ifp, int dir,
struct ip_fw_args args;
struct m_tag *mtag;
- /* fetch start point from rule, if any. remove tag if present. */
+ /* fetch start point from rule, if any. remove the tag if present. */
mtag = m_tag_locate(*m0, MTAG_IPFW_RULE, 0, NULL);
if (mtag == NULL) {
args.rule.slot = 0;
OpenPOWER on IntegriCloud