commit | 378c233bcb21dfb2d9c2548b9a1fa6a8d35c78dd | [log] [tgz] |
---|---|---|
author | Xiaofei Tan <tanxiaofei@huawei.com> | Tue Oct 24 23:51:37 2017 +0800 |
committer | Martin K. Petersen <martin.petersen@oracle.com> | Wed Oct 25 08:21:04 2017 -0400 |
tree | 892ddfb22823048e863e3db962e88ccd7f875c59 | |
parent | 1eb8eeac17ee808b50b422f5ef2e27f5497f82ad [diff] |
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>