USB: serial: fix race between unthrottle and completion handler in symbolserial
authorOliver Neukum <oliver@neukum.org>
Wed, 7 Oct 2009 07:30:49 +0000 (09:30 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:52:08 +0000 (13:52 -0700)
commitb2a5cf1bdc011f5474c72543f9d8116c0f07f452
tree2e96220f14121811132d3cded43127ed52a13c8a
parent88fa6590b30ef8c4d41923449ada104f915d8df8
USB: serial: fix race between unthrottle and completion handler in symbolserial

usb:usbserial:symbolserial: fix race between unthrottle and completion handler

symbol_unthrottle() mustn't resubmit the URB unconditionally
as the URB may still be running.

the same bug as opticon.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/symbolserial.c