summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/if.c')
-rw-r--r--sys/net/if.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 7b0614b6f4f..20e9dcbc9de 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.473 2017/01/04 03:56:15 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.474 2017/01/12 09:07:46 mpi Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -598,6 +598,10 @@ if_enqueue(struct ifnet *ifp, struct mbuf *m)
length = m->m_pkthdr.len;
mflags = m->m_flags;
+#if NPF > 0
+ pf_pkt_unlink_state_key(m);
+#endif /* NPF > 0 */
+
/*
* Queue message on interface, and start output if interface
* not yet active.