Re: [PATCH] USB: fix deadlock in HCD code

From: Oliver Neukum
Date: Wed May 21 2008 - 09:48:02 EST


Am Mittwoch 21 Mai 2008 15:36:49 schrieb Jiri Kosina:
> On Wed, 21 May 2008, Oliver Neukum wrote:
>
> > This turns out not to be the case. Interrupts are disabled.
>
> You're right, this callchain can't cause the deadlock indeed. I'll go
> through the other possibilities.

usb_hcd_flush_endpoint() is an obvious case. Used in the suspend code.
Your patch is indeed correct, but I fear there might be a second bug caused
by wrong calling conditions.

Regards
Oliver
--
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/