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-02 13:58:50 -07:00
2006-07-10 15:14:38 -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-10 13:24:15 -07:00
2006-07-10 13:24:15 -07:00
2006-07-12 12:52:55 -07:00
2006-07-07 09:46:45 -07:00
2006-07-03 19:45:31 -07:00
2006-07-10 13:24:25 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:50 -07:00
2006-06-30 19:25:36 +02:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:50 -07:00
2006-07-12 12:59:35 -07:00
2006-07-03 15:27:08 -07:00
2006-07-04 10:24:57 -07:00
2006-07-03 15:27:07 -07:00
2006-07-10 13:24:27 -07:00
2006-07-10 13:24:26 -07:00
2006-07-10 13:24:20 -07:00
2006-07-10 13:24:17 -07:00
2006-07-10 13:24:15 -07:00
2006-07-10 13:24:26 -07:00
2006-07-02 13:58:50 -07:00
2006-07-02 13:58:50 -07:00
2006-07-03 15:27:10 -07:00
2006-07-03 21:29:08 -07:00
2006-07-10 14:50:33 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:52 -07:00
2006-07-02 13:58:50 -07:00
2006-07-12 12:59:35 -07:00
2006-07-10 13:24:12 -07:00
2006-07-03 15:26:58 -07:00
2006-06-30 19:25:36 +02:00
2006-07-02 13:58:50 -07:00
2006-07-12 16:41:55 +02:00
2006-07-02 13:58:50 -07:00
2006-07-10 13:24:22 -07:00
2006-07-05 14:31:13 +01:00
2006-07-02 13:58:50 -07:00
2006-07-03 15:27:09 -07:00
2006-07-02 13:58:50 -07:00
2006-06-29 14:19:21 -07:00
2006-07-12 16:03:21 -07:00
2006-07-10 13:24:20 -07:00
2006-06-30 19:25:36 +02:00