summaryrefslogtreecommitdiffstats
path: root/drivers/cdrom
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2014-05-01 09:12:36 +0200
committerJens Axboe <axboe@fb.com>2014-05-01 17:17:41 +0200
commitfc27691f3537a0df087214322467b642d1f6dedb (patch)
tree9b2060931a6776ec3e2bffce0adcba04643d0ec3 /drivers/cdrom
parentdrbd: use list_first_entry_or_null in first_peer_device/first_connection (diff)
downloadlinux-fc27691f3537a0df087214322467b642d1f6dedb.tar.xz
linux-fc27691f3537a0df087214322467b642d1f6dedb.zip
block: null_blk: fix use after free
entry(cmd->ll_list) may belong to new request once end_cmd() returns, so fix the bug with the patch. Without the change, it is easy to observe oops when doing null_blk(timer) test. Signed-off-by: Ming Lei <tom.leiming@gmail.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/cdrom')
0 files changed, 0 insertions, 0 deletions