summaryrefslogtreecommitdiff
path: root/drivers/cdrom/cdrom.c
diff options
context:
space:
mode:
authorMing Lei <tom.leiming@gmail.com>2014-05-01 15:12:36 +0800
committerJens Axboe <axboe@fb.com>2014-05-01 09:17:41 -0600
commitfc27691f3537a0df087214322467b642d1f6dedb (patch)
tree9b2060931a6776ec3e2bffce0adcba04643d0ec3 /drivers/cdrom/cdrom.c
parentec4a340789be16831ae96be5f7552238a7a6e903 (diff)
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/cdrom.c')
0 files changed, 0 insertions, 0 deletions