diff options
author | Ming Lei <tom.leiming@gmail.com> | 2014-05-01 09:12:36 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2014-05-01 17:17:41 +0200 |
commit | fc27691f3537a0df087214322467b642d1f6dedb (patch) | |
tree | 9b2060931a6776ec3e2bffce0adcba04643d0ec3 /drivers/cdrom | |
parent | drbd: use list_first_entry_or_null in first_peer_device/first_connection (diff) | |
download | linux-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