https://github.com/torvalds/linux
Revision 74ac07e8b8209ba9429fa1a9afc07aa5ecef5af8 authored by Oliver Neukum on 13 June 2007, 16:50:41 UTC, committed by Greg Kroah-Hartman on 26 June 2007, 06:38:06 UTC
usb_unlink_urb() is asynchronous, therefore an URB's buffer may not
be freed without waiting for the completion handler. This patch switches
to usb_kill_urb(), which is synchronous.
Thanks to Alan for making me look at the remaining users of usb_unlink_urb()


Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Al Borchers <alborchers@steinerpoint.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent 5afeb10
History
Tip revision: 74ac07e8b8209ba9429fa1a9afc07aa5ecef5af8 authored by Oliver Neukum on 13 June 2007, 16:50:41 UTC
USB: fix race leading to use after free in io_edgeport
Tip revision: 74ac07e
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
scripts
security
sound
usr
.gitignore -rw-r--r-- 572 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 89.3 KB
Kbuild -rw-r--r-- 1.5 KB
MAINTAINERS -rw-r--r-- 87.8 KB
Makefile -rw-r--r-- 49.2 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top