aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
diff options
context:
space:
mode:
authorDaniel Gryniewicz <[email protected]>2014-09-16 10:41:13 -0400
committerJames Bottomley <[email protected]>2014-09-19 13:23:33 +0100
commitf81426a84bef870d26e5e752772d8ca203cd4aed (patch)
tree83463b74b0232ec854ed7dc79341c2d3ba836265 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf
parente8be1cf58d5b4ddbf8089700df8458f432ed5934 (diff)
[SCSI] fix for bidi use after free
When ending a bi-directionional SCSI request, blk_finish_request() cleans up and frees the request, but scsi_release_bidi_buffers() tries to indirect through the request to find it's data buffers. This causes a panic due to a null pointer dereference. Move the call to scsi_release_bidi_buffers() before the call to blk_finish_request(). Signed-off-by: Daniel Gryniewicz <[email protected]> Reviewed-by: Webb Scales <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf')
0 files changed, 0 insertions, 0 deletions