Re: [PATCH 1/3] usb console: fix mutex lock regression

From: Jason Wessel
Date: Wed Sep 16 2009 - 23:32:49 EST


Alan Stern wrote:
> On Wed, 16 Sep 2009, Jason Wessel wrote:
>
>
>> During the 2.6.32 development the use of serial->disc_mutex was
>> introduced. In usb_console_setup() the call to
>> usb_serial_get_by_index() will obtain this mutex. The
>> usb_console_setup() must release the mutex before it completes else
>> later calls to the usb serial core will hang.
>>
>
> Apparently you didn't see my patch:
>
> http://marc.info/?l=linux-usb&m=125209260714221&w=2
>
> Did this not get into linus-next? Greg?
>
>

Maybe it was not merged at the time. We'll wait to hear from Greg.

Certainly I would opt to use your more complete implementation.


Jason.
--
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/