]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: race on disconnect in mdc800
authorOliver Neukum <oliver@neukum.org>
Fri, 5 Jan 2007 16:42:35 +0000 (17:42 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:34 +0000 (15:44 -0800)
commitf38649fee955c19f4df9b9e7267f87702712d973
tree0d399a5ed6e8fb8a799d66c5849a23cc002986fe
parent6f23ee1fefdc1f80bd8a3ab04a1c41ab2dec14c9
USB: race on disconnect in mdc800

I overlooked one. Setting the flag and killing the URBs must be under the lock
so that no URB is submitted after usb_kill_urb()

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