commit | 34ef50e5b1f96c2d8c0f3d28b7d407743806256c | [log] [tgz] |
---|---|---|
author | Oliver Neukum <oneukum@suse.de> | Sat Jan 13 07:29:26 2007 +0100 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Feb 07 15:44:38 2007 -0800 |
tree | bdf5fe45a270ebd77c895c7563c3fbf4c230019a | |
parent | fdcba53e2d58272bcdb5f1fad694602ccf02ad46 [diff] |
USB: race fixes for usb-serial step 1 - introduce a spinlock for serial_table to eliminate the window between looking up a device and getting a reference - delay inscription of a new device into serial_table until it is fully initialised - make sure disconnect() kills all URBs to avoid leckage across a soft unbind Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>