diff options
| author | 2014-05-01 15:12:36 +0800 | |
|---|---|---|
| committer | 2014-05-01 09:17:41 -0600 | |
| commit | fc27691f3537a0df087214322467b642d1f6dedb (patch) | |
| tree | 9b2060931a6776ec3e2bffce0adcba04643d0ec3 /include/linux | |
| parent | drbd: use list_first_entry_or_null in first_peer_device/first_connection (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 'include/linux')
0 files changed, 0 insertions, 0 deletions
