diff options
-rw-r--r-- | sys/net/if.c | 4 |
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 |