diff options
author | Xiang Chen <chenxiang66@hisilicon.com> | 2018-09-24 23:06:31 +0800 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2018-10-16 00:27:04 -0400 |
commit | 3e178f3ecfcf91a258e832b0f0843a4cfd9059ac (patch) | |
tree | 5f773da4c5cbbe27eb28bd63d7f0f04bc0f6b0e2 /.gitignore | |
parent | 584f53fe5f529d877968c711a095923c1ed12307 (diff) | |
download | linux-3e178f3ecfcf91a258e832b0f0843a4cfd9059ac.tar.gz linux-3e178f3ecfcf91a258e832b0f0843a4cfd9059ac.tar.bz2 linux-3e178f3ecfcf91a258e832b0f0843a4cfd9059ac.zip |
scsi: hisi_sas: Free slot later in slot_complete_vx_hw()
If an SSP/SMP IO times out, it may be actually in reality be
simultaneously processing completion of the slot in
slot_complete_vx_hw().
Then if the slot is freed in slot_complete_vx_hw() (this IPTT is freed
and it may be re-used by other slot), and we may abort the wrong slot in
hisi_sas_abort_task().
So to solve the issue, free the slot after the check of
SAS_TASK_STATE_ABORTED in slot_complete_vx_hw().
Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions