diff options
author | green <green@FreeBSD.org> | 2005-06-04 19:04:31 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2005-06-04 19:04:31 +0000 |
commit | 497a5998afc4581a2a4909ccdd39c877d8672fb8 (patch) | |
tree | 27646b7d5b22022ccd7be153b64a1046b4103f13 /sys/netinet/ip_fw2.c | |
parent | 565f66adf31d243191a10da5c40231448d7a6d4d (diff) | |
download | FreeBSD-src-497a5998afc4581a2a4909ccdd39c877d8672fb8.zip FreeBSD-src-497a5998afc4581a2a4909ccdd39c877d8672fb8.tar.gz |
Better explain, then actually implement the IPFW ALTQ-rule first-match
policy. It may be used to provide more detailed classification of
traffic without actually having to decide its fate at the time of
classification.
MFC after: 1 week
Diffstat (limited to 'sys/netinet/ip_fw2.c')
-rw-r--r-- | sys/netinet/ip_fw2.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/netinet/ip_fw2.c b/sys/netinet/ip_fw2.c index 8211977..609f40b 100644 --- a/sys/netinet/ip_fw2.c +++ b/sys/netinet/ip_fw2.c @@ -2551,6 +2551,9 @@ check_body: ipfw_insn_altq *altq = (ipfw_insn_altq *)cmd; match = 1; + mtag = m_tag_find(m, PACKET_TAG_PF_QID, NULL); + if (mtag != NULL) + break; mtag = m_tag_get(PACKET_TAG_PF_QID, sizeof(struct altq_tag), M_NOWAIT); |