From e6488d8cfc629f4547c22e0af3533bc9b7d60c02 Mon Sep 17 00:00:00 2001 From: chris Date: Sun, 17 May 2015 02:33:09 +0000 Subject: [PATCH] We don't need KERNEL_LOCK() around if_input() anymore, as if_input() has appropriate locking around bpf now. ok dlg@ --- sys/dev/pci/if_myx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/dev/pci/if_myx.c b/sys/dev/pci/if_myx.c index f7b1bbe6f0d..ff9e09d3bc6 100644 --- a/sys/dev/pci/if_myx.c +++ b/sys/dev/pci/if_myx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_myx.c,v 1.76 2015/03/14 03:38:48 jsg Exp $ */ +/* $OpenBSD: if_myx.c,v 1.77 2015/05/17 02:33:09 chris Exp $ */ /* * Copyright (c) 2007 Reyk Floeter @@ -1888,9 +1888,7 @@ myx_rxeof(struct myx_softc *sc) ifp->if_ipackets += ml_len(&ml); - KERNEL_LOCK(); if_input(ifp, &ml); - KERNEL_UNLOCK(); } void -- 2.20.1