aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2014-05-20 15:03:49 +0200
committerRoland Dreier <[email protected]>2014-05-20 09:20:51 -0700
commit024ca90151f5e4296d30f72c13ff9a075e23c9ec (patch)
treefe418c63a06d19c3739c58ff988ccf6b95d0d100 /tools/perf/scripts/python/stackcollapse.py
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c (diff)
IB/srp: Fix a sporadic crash triggered by cable pulling
Avoid that the loops that iterate over the request ring can encounter a pointer to a SCSI command in req->scmnd that is no longer associated with that request. If the function srp_unmap_data() is invoked twice for a SCSI command that is not in flight then that would cause ib_fmr_pool_unmap() to be invoked with an invalid pointer as argument, resulting in a kernel oops. Reported-by: Sagi Grimberg <[email protected]> Reference: http://thread.gmane.org/gmane.linux.drivers.rdma/19068/focus=19069 Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Cc: stable <[email protected]> Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions