From: Oliver Neukum Date: Sat, 13 Jan 2007 06:29:26 +0000 (+0100) Subject: USB: race fixes for usb-serial step 1 X-Git-Tag: v2.6.21-rc1~92^2~29^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34ef50e5b1f96c2d8c0f3d28b7d407743806256c;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed