https://github.com/torvalds/linux
Revision 959a35f13eb785f982d79b1aaa75872d05c821da authored by Jeff Moyer on 03 December 2013, 21:23:00 UTC, committed by Jens Axboe on 03 December 2013, 21:24:28 UTC
If __GFP_WAIT isn't set and we fail allocating, when we go
to drop the reference on the ctx, we will attempt to dereference
the NULL rq. Fix that.

Signed-off-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent e345d76
History
Tip revision: 959a35f13eb785f982d79b1aaa75872d05c821da authored by Jeff Moyer on 03 December 2013, 21:23:00 UTC
blk-mq: fix dereference of rq->mq_ctx if allocation fails
Tip revision: 959a35f
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-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.2 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 260.3 KB
Makefile -rw-r--r-- 48.2 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top