summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-08-16 12:19:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-08-16 12:19:07 +0000
commitbadf5a8293805cac4ce9fd80832f40e837cbdab2 (patch)
tree0f182290ac5e0bf7d68edbb40f5e8c4f09c3e00d /sys
parentb123911a6ee3f2e68fdfdd7789f3a7d7d469331f (diff)
dont need the biglock to call bpf now.
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c
index 4a7c3dd07af..7677e33de45 100644
--- a/sys/net/if.c
+++ b/sys/net/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.358 2015/08/16 11:28:31 dlg Exp $ */
+/* $OpenBSD: if.c,v 1.359 2015/08/16 12:19:06 dlg Exp $ */
/* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */
/*
@@ -487,10 +487,8 @@ if_input(struct ifnet *ifp, struct mbuf_list *ml)
#if NBPFILTER > 0
if_bpf = ifp->if_bpf;
if (if_bpf) {
- KERNEL_LOCK();
MBUF_LIST_FOREACH(ml, m)
bpf_mtap_ether(if_bpf, m, BPF_DIRECTION_IN);
- KERNEL_UNLOCK();
}
#endif