summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw2.c
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>2007-08-29 19:34:28 +0000
committergreen <green@FreeBSD.org>2007-08-29 19:34:28 +0000
commita2737718b85e0704d618997753e331d365abb316 (patch)
tree18ef872c2090a9f2acee194226bc1286928a4edd /sys/netinet/ip_fw2.c
parent736eaf5ce3efb9100c867e89a189456aaf2cfb94 (diff)
downloadFreeBSD-src-a2737718b85e0704d618997753e331d365abb316.zip
FreeBSD-src-a2737718b85e0704d618997753e331d365abb316.tar.gz
Repair ALTQ-tagging rules in IPFW which got broken in the last PF
import. The PF mbuf-tagging support routines changed to link the allocated tags into the provided mbuf themselves, so the left-over m_tag_prepend() was trying to add a bogus (usually NULL) tag. Reviewed by: mlaier Approved by: re
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r--sys/netinet/ip_fw2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c
index b4cb78c..9b013eb 100644
--- a/sys/netinet/ip_fw2.c
+++ b/sys/netinet/ip_fw2.c
@@ -3077,7 +3077,6 @@ check_body:
else
at->af = AF_LINK;
at->hdr = ip;
- m_tag_prepend(m, mtag);
break;
}
OpenPOWER on IntegriCloud