aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/c++/clang-test.cpp
diff options
context:
space:
mode:
authorJohn Garry <[email protected]>2017-04-10 21:22:00 +0800
committerMartin K. Petersen <[email protected]>2017-04-11 22:01:04 -0400
commitd3c4dd4e3dc52a7a8ae4cfd91fedffdeeb6e003b (patch)
tree29280b85bd5bc883a212d9936289612dd059f12b /tools/perf/util/c++/clang-test.cpp
parent0844a3ff00e30cf7e8edbce40eab83593c051c78 (diff)
scsi: hisi_sas: fix NULL deference when TMF timeouts
If a TMF timeouts (maybe due to unlikely scenario of an expander being unplugged when TMF for remote device is active), when we eventually try to free the slot, we crash as we dereference the slot's task, which has already been released. As a fix, add checks in the slot release code for a NULL task. Signed-off-by: John Garry <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang-test.cpp')
0 files changed, 0 insertions, 0 deletions