summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2008-08-02 12:34:38 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2008-08-02 12:34:38 +0000
commit4e195c3067ccc764fcab6a0db3193f5d330b0cc8 (patch)
tree9030ba50a34ea2fa62d6ca852a7a055f01683bdd /sys
parent3724e74926cb889f1b439e8214da02c3c6ed863a (diff)
do not write the pf state key pointer to the pkhdr.
effectively disables state key linking and pcb linking - unfortunatly, there seems to be a bug somewhere in there or triggered by it that we haven't tracked down yet, so we disable this for now to be on the safe side for release. lots of testing and analysis from todd and david.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index 7492a5dca91..0650e422cd2 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.613 2008/07/22 12:31:35 henning Exp $ */
+/* $OpenBSD: pf.c,v 1.614 2008/08/02 12:34:37 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -5783,8 +5783,10 @@ done:
if ((s && s->tag) || r->rtableid)
pf_tag_packet(m, s ? s->tag : 0, r->rtableid);
+#if 0
if (dir == PF_IN && s && s->key[PF_SK_STACK])
m->m_pkthdr.pf.statekey = s->key[PF_SK_STACK];
+#endif
#ifdef ALTQ
if (action == PF_PASS && r->qid) {
@@ -6162,8 +6164,10 @@ done:
if ((s && s->tag) || r->rtableid)
pf_tag_packet(m, s ? s->tag : 0, r->rtableid);
+#if 0
if (dir == PF_IN && s && s->key[PF_SK_STACK])
m->m_pkthdr.pf.statekey = s->key[PF_SK_STACK];
+#endif
#ifdef ALTQ
if (action == PF_PASS && r->qid) {