diff options
author | Chris Cappuccio <chris@cvs.openbsd.org> | 2015-05-17 02:33:10 +0000 |
---|---|---|
committer | Chris Cappuccio <chris@cvs.openbsd.org> | 2015-05-17 02:33:10 +0000 |
commit | b898fc4540ce9cbde9d07f26544e56696949312f (patch) | |
tree | b447bafaf993ac56d6daede8a3319862d20bc04b /sys/dev/pci/if_myx.c | |
parent | ee4b21a193843fc33ef455de33b304a46d29693f (diff) |
We don't need KERNEL_LOCK() around if_input() anymore, as if_input() has
appropriate locking around bpf now.
ok dlg@
Diffstat (limited to 'sys/dev/pci/if_myx.c')
-rw-r--r-- | sys/dev/pci/if_myx.c | 4 |
1 files changed, 1 insertions, 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 <reyk@openbsd.org> @@ -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 |