diff options
author | loos <loos@FreeBSD.org> | 2016-11-17 14:32:23 +0000 |
---|---|---|
committer | Luiz Souza <luiz@netgate.com> | 2017-07-15 11:08:52 -0500 |
commit | 9f4b4c2e952edd89273b7920739a7021ee0ffd57 (patch) | |
tree | 192a3da4c43f216626c1c12c8638923a89ca7507 | |
parent | b3f0d55157da0bf8daaa07dc7e85ff3b2e331488 (diff) | |
download | FreeBSD-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.c | 2 |
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; |