summaryrefslogtreecommitdiff
path: root/sys/net
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2010-09-24 02:15:01 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2010-09-24 02:15:01 +0000
commit49b0e4da547646c0b4b2757a91f5b9e800325337 (patch)
treeadf6224bb3cb293ccb0ebba357b432a576018681 /sys/net
parent63c85acef9383dd62e44135ad7cbb363d741cb91 (diff)
no need to pf_tag_packet in the stateless case in pf_test since
pf_test_rule will have done it already, as correctly XXX-comment noted by claudio almost a year ago. pf_test6 (which is scarily different there) didn't have that at all.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/pf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 12428ad8b5b..33c9b22eca0 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.710 2010/09/24 02:06:47 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.711 2010/09/24 02:15:00 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -6000,8 +6000,6 @@ done:
qid = s->qid;
} else {
pf_scrub_ip(&m, r->scrub_flags, r->min_ttl, r->set_tos);
- /* XXX tag not needed since it is done in pf_test_rule ??? */
- pf_tag_packet(m, r->tag, r->rtableid);
if (pqid || (pd.tos & IPTOS_LOWDELAY))
qid = r->pqid;
else