Re: 2.6.17-mm3 -- BUG: trying to register non-static key!

From: Arjan van de Ven
Date: Wed Jun 28 2006 - 16:14:59 EST


On Wed, 2006-06-28 at 11:09 -0700, Miles Lane wrote:
> After rebuilding with your patch, the stack trace shows up,
> but now there is a warning of a possible circular locking dependency:
>
> [ INFO: possible circular locking dependency detected ]
> -------------------------------------------------------
> S13gdm/2088 is trying to acquire lock:
> (&dev->queue_lock){-+..}, at: [<c11a1fbc>] dev_queue_xmit+0x120/0x248
>
> but task is already holding lock:
> (&dev->_xmit_lock){-+..}, at: [<c11a201f>] dev_queue_xmit+0x183/0x248
>
> which lock already depends on the new lock.
>

ok this driver calls dev_queue_xmit() inside a ->hard_start_xmit
handler... that smells fishy.

Jeff/DaveM: is that legal ?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/