https://github.com/torvalds/linux
Revision acbe2febe71abb2360b008e9ab3ee5c44169f78c authored by Oliver Neukum on 12 January 2010, 11:32:50 UTC, committed by Greg Kroah-Hartman on 20 January 2010, 23:24:34 UTC
Memory allocations with GFP_KERNEL can cause IO to a storage
device which can fail resulting in a need to reset the device.
Therefore GFP_KERNEL cannot be safely used between usb_lock_device()
and usb_unlock_device(). Replace by GFP_NOIO.

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent a91b593
History
Tip revision: acbe2febe71abb2360b008e9ab3ee5c44169f78c authored by Oliver Neukum on 12 January 2010, 11:32:50 UTC
USB: Don't use GFP_KERNEL while we cannot reset a storage device
Tip revision: acbe2fe
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top