Re: panic: _mtx_lock_sleep: recursed on non-recursive mutex em0 _at_ /usr/src/sys/dev/e1000/if_lem.c:881

From: Adrian Chadd <adrian_at_freebsd.org>
Date: Sat, 28 Jul 2012 13:04:27 -0700
On 28 July 2012 12:09, Arnaud Lacombe <lacombar_at_gmail.com> wrote:

> How would a single ATH_LOCK() helps here ? AFAICS, the panic seem to
> be a classical fallout from direct dispatch where you can re-enter the
> driver from the driver itself through the network stack.

Take a look at iwn. It has a single lock - IWN_LOCK() - which it
releases before punting the frame up the stack.



Adrian
Received on Sat Jul 28 2012 - 18:04:28 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:29 UTC