linux/drivers/usb/class
Alexey Dobriyan 74573ee709 USB: cdc-acm: don't unlock acm->mutex on error path
On Wed, Jul 23, 2008 at 03:52:36PM +0300, Andrei Popa wrote:
> I installed gnokii-0.6.22-r2 and gave the command "gnokii --identify"
> and the kernel oopsed:
>
> BUG: unable to handle kernel NULL pointer dereference at 00000458
> IP: [<c0444b52>] mutex_unlock+0x0/0xb
>  [<c03830ae>] acm_tty_open+0x4c/0x214

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Tested-by: Andrei Popa <andrei.popa@i-neo.ro>
Cc: stable <stable@kernel.org>		[2.6.25.x, 2.6.26.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-21 10:26:35 -07:00
..
Kconfig USB: CDC WDM driver 2008-05-20 14:14:15 -07:00
Makefile USB: CDC WDM driver 2008-05-20 14:14:15 -07:00
cdc-acm.c USB: cdc-acm: don't unlock acm->mutex on error path 2008-08-21 10:26:35 -07:00
cdc-acm.h usb: cdc-acm: drain writes on close 2008-08-13 17:32:57 -07:00
cdc-wdm.c USB: fix build error in cdc-acm for CONFIG_PM=n 2008-07-21 15:16:47 -07:00
usblp.c