aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorMike Krinkin <[email protected]>2015-12-15 12:56:40 +0300
committerJens Axboe <[email protected]>2015-12-22 10:42:48 -0700
commite8271201462710dbbaa0448b768428606724ca90 (patch)
tree260d20e53c36bf3ec9eec08b65af06012bd237c0 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent23688bf4f830a89866fd0ed3501e342a7360fe4f (diff)
null_blk: fix use-after-free error
blk_end_request_all may free request, so we need to save request_queue pointer before blk_end_request_all call. The problem was introduced in commit cf8ecc5a8455266f8d51 ("null_blk: guarantee device restart in all irq modes") and causes general protection fault with slab poisoning enabled. Fixes: cf8ecc5a8455266f8d51 ("null_blk: guarantee device restart in all irq modes") Signed-off-by: Mike Krinkin <[email protected]> Reviewed-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions