Re: [PATCH v2] staging: gdm72xx: Fix spinlock recursion ongdm_usb_send_complete

From: Greg Kroah-Hartman
Date: Tue Jun 12 2012 - 14:07:39 EST


On Tue, Jun 12, 2012 at 10:40:52AM -0700, Ben Chan wrote:
> This patch fixes a spinlock recursion bug on several call sites of
> gdm_usb_send_complete by not calling spin_lock_irqsave on
> urb->context->tx_cxt->lock when the lock has already been acquired.
>
> Signed-off-by: Ben Chan <benchan@xxxxxxxxxxxx>
> Cc: Sage Ahn <syahn@xxxxxxxxxxx>
> ---
> This revised patch simplifies the previous patch.

Argh, I _just_ applied the previous patch :(

Care to send me an incremental one, fixing it up to look like this now
so I don't have to revert your previous one?

thanks,

greg k-h
--
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/