scsi: hisi_sas: fix the race between IO completion and IO timeout for SMP/internal IO
If SMP/internal IO is timeout, it will free slot/task immediately, but if it enters IO completion at the same time, it may refer to task which is freed. So to solve the issue, flush tasklet to finish IO completion before free'ing slot/task. Signed-off-by: NXiang Chen <chenxiang66@hisilicon.com> Signed-off-by: NJohn Garry <john.garry@huawei.com>
Showing
想要评论请 注册 或 登录