aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2012-06-29 15:34:26 +0000
committerJames Bottomley <[email protected]>2012-07-20 08:58:40 +0100
commit940f5d47e2f2e1fa00443921a0abf4822335b54d (patch)
treee653ab9f2313c1fec3ab73433abecf5bda3003c3 /tools/perf/scripts/python/net_dropmonitor.py
parent67bd94130015c507011af37858989b199c52e1de (diff)
[SCSI] Avoid dangling pointer in scsi_requeue_command()
When we call scsi_unprep_request() the command associated with the request gets destroyed and therefore drops its reference on the device. If this was the only reference, the device may get released and we end up with a NULL pointer deref when we call blk_requeue_request. Reported-by: Mike Christie <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Mike Christie <[email protected]> Reviewed-by: Tejun Heo <[email protected]> Cc: <[email protected]> [jejb: enhance commend and add commit log for stable] Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions