summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index b791f0b0b4a..f5ba067fb39 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.969 2016/04/15 02:54:17 dlg Exp $ */
+/* $OpenBSD: pf.c,v 1.970 2016/05/03 12:13:38 mpi Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -6570,13 +6570,10 @@ done:
* deal with IP tunnels.
*/
if (pd.m->m_pkthdr.pf.statekey != NULL) {
- printf("WARNING incoming mbuf already has a statekey:");
#ifdef DDB
m_print(pd.m, printf);
-#else
- printf("%p\n", pd.m);
#endif
- pf_pkt_unlink_state_key(pd.m);
+ panic("incoming mbuf already has a statekey");
}
pd.m->m_pkthdr.pf.statekey =
pf_state_key_ref(s->key[PF_SK_STACK]);