From: chris Date: Sun, 17 May 2015 02:33:09 +0000 (+0000) Subject: We don't need KERNEL_LOCK() around if_input() anymore, as if_input() has X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e6488d8cfc629f4547c22e0af3533bc9b7d60c02;p=openbsd We don't need KERNEL_LOCK() around if_input() anymore, as if_input() has appropriate locking around bpf now. ok dlg@ --- 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