panic: _mtx_lock_sleep: recursed on non-recursive mutex em0 @
/usr/src/sys/dev/e1000/if_lem.c:881
Adrian Chadd
adrian at freebsd.org
Sat Jul 28 20:04:28 UTC 2012
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
More information about the freebsd-current
mailing list