tmp_suning_uos_patched/drivers/usb/storage
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
..
alauda.c
alauda.h
datafab.c
datafab.h
debug.c
debug.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dpcm.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dpcm.h
freecom.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
freecom.h
initializers.c
initializers.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
isd200.c
isd200.h
jumpshot.c
jumpshot.h
Kconfig
libusual.c
Makefile
onetouch.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
onetouch.h
protocol.c
protocol.h
scsiglue.c [PATCH] usb-storage: use usb_reset_composite_device 2006-06-21 15:04:15 -07:00
scsiglue.h
sddr09.c
sddr09.h
sddr55.c
sddr55.h
shuttle_usbat.c [PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices 2006-06-21 15:04:10 -07:00
shuttle_usbat.h [PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices 2006-06-21 15:04:10 -07:00
transport.c [PATCH] usb-storage: wait for URB to complete 2006-07-10 13:24:21 -07:00
transport.h
unusual_devs.h Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
usb.c [PATCH] usb-storage: fix race between reset and disconnect 2006-07-12 16:03:21 -07:00
usb.h Clean up 'inline is not at beginning' warnings for usb storage 2006-06-26 19:01:01 +02:00