summaryrefslogtreecommitdiffstats
path: root/sys/dev/en
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2005-10-27 21:08:12 +0000
committerjhb <jhb@FreeBSD.org>2005-10-27 21:08:12 +0000
commit583ad07a118104e232575b7e996172743e7e4c49 (patch)
tree9d0216d4edd4caa93b195f2094f779311ab4761e /sys/dev/en
parentb133e7a8cd36a74606038ac5f87cba1f5fe140fa (diff)
downloadFreeBSD-src-583ad07a118104e232575b7e996172743e7e4c49.zip
FreeBSD-src-583ad07a118104e232575b7e996172743e7e4c49.tar.gz
Drop the driver lock around atm_input() analogous to all the ethernet
drivers dropping the driver lock around ether_input(). Silence by: harti
Diffstat (limited to 'sys/dev/en')
-rw-r--r--sys/dev/en/midway.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/en/midway.c b/sys/dev/en/midway.c
index 219d542..119aa1c 100644
--- a/sys/dev/en/midway.c
+++ b/sys/dev/en/midway.c
@@ -1869,7 +1869,9 @@ en_rx_drain(struct en_softc *sc, u_int drq)
#ifdef ENABLE_BPF
BPF_MTAP(sc->ifp, m);
#endif
+ EN_UNLOCK(sc);
atm_input(sc->ifp, &ah, m, vc->rxhand);
+ EN_LOCK(sc);
}
}
OpenPOWER on IntegriCloud