summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2004-08-05 23:55:57 -0700
committerGreg Kroah-Hartman <greg@kroah.com>2004-08-05 23:55:57 -0700
commit0760ab15b0ff83933eb9338422e3740f9221d75a (patch)
treed5f9decb57f043a90ae411da0c53fd1fb516e189 /kernel
parent1fa89efc144321c7ece5e04e417a534ca5eafd10 (diff)
[PATCH] USB: usbfs: drop the device semaphore in proc_bulk and proc_control
usb_control_msg and usb_bulk_msg may sleep for a long time, so drop the per device semaphore before calling them. This fixes OSDL bug 3108. Dropping the semaphore is racy, but (1) the race is fairly harmless, (2) it can be occur elsewhere as an inevitable consequence of the current usbfs api, this just makes it fractionally more likely. Signed-off-by: Duncan Sands <baldrick@free.fr> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions