https://github.com/torvalds/linux
Revision 026672d0997c911c9bef9aabe862884fc0add106 authored by Pavel Machek on 02 May 2008, 23:45:10 UTC, committed by David S. Miller on 02 May 2008, 23:45:10 UTC
If someone tries to _urb_unlink while _urb_queue_head is running, he'll see
_urb->queue == NULL and fail to do any locking.  Prevent that from happening
by strategically placed barriers.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 84994e1
History
Tip revision: 026672d0997c911c9bef9aabe862884fc0add106 authored by Pavel Machek on 02 May 2008, 23:45:10 UTC
hci_usb.h: fix hard-to-trigger race
Tip revision: 026672d
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 682 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 96.8 KB
Makefile -rw-r--r-- 53.7 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top