diff options
author | Xiaofei Tan <tanxiaofei@huawei.com> | 2017-10-24 18:51:37 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-25 15:21:04 +0300 |
commit | 378c233bcb21dfb2d9c2548b9a1fa6a8d35c78dd (patch) | |
tree | 892ddfb22823048e863e3db962e88ccd7f875c59 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1eb8eeac17ee808b50b422f5ef2e27f5497f82ad (diff) | |
download | linux-378c233bcb21dfb2d9c2548b9a1fa6a8d35c78dd.tar.xz |
scsi: hisi_sas: fix NULL check in SMP abort task path
This patch adds a NULL check of task->lldd_task before freeing the
slot in SMP path.
This is to guard against the scenario of the slot being freed during
the from the preceding internal abort.
Signed-off-by: Xiaofei Tan <tanxiaofei@huawei.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions