Alan Stern eecd11ed47 [PATCH] usb-storage: fix race between reset and disconnect
My recent patch converting usb-storage to use
usb_reset_composite_device() added a bug, a race between reset and
disconnect.  It was necessary to drop the private lock while executing a
reset, and if a disconnect occurs at that time it will cause a crash.

This patch (as722) fixes the problem by explicitly checking for an early
termination after executing each command.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-07-12 16:03:21 -07:00
..
2006-07-08 13:30:09 -07:00
2006-07-10 13:24:12 -07:00
2006-07-10 13:24:25 -07:00
2006-07-12 12:52:55 -07:00
2006-07-12 12:59:35 -07:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:27 -07:00
2006-07-10 13:24:17 -07:00
2006-07-10 13:24:15 -07:00
2006-07-03 21:29:08 -07:00
2006-07-10 14:50:33 -07:00
2006-07-12 12:59:35 -07:00
2006-07-12 16:41:55 +02:00