diff options
| author | Ben Hutchings <ben.hutchings@codethink.co.uk> | 2018-03-20 21:05:48 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-20 08:11:46 +0200 |
| commit | bde533c656f3d736545677c73413f30f2ece3bbd (patch) | |
| tree | b235f85e3f6f01b5904c08d53d01043b82c6bdee /kernel/sysctl_binary.c | |
| parent | 3a3c1ab554378c904e9e59de33569e5f691ca0eb (diff) | |
scsi: qla2xxx: Avoid double completion of abort command
[ Upstream commit 3a9910d7b686546dcc9986e790af17e148f1c888 ]
qla2x00_tmf_sp_done() now deletes the timer that will run
qla2x00_tmf_iocb_timeout(), but doesn't check whether the timer already
expired. Check the return value from del_timer() to avoid calling
complete() a second time.
Fixes: 4440e46d5db7 ("[SCSI] qla2xxx: Add IOCB Abort command asynchronous ...")
Fixes: 1514839b3664 ("scsi: qla2xxx: Fix NULL pointer crash due to active ...")
Signed-off-by: Ben Hutchings <ben.hutchings@codethink.co.uk>
Acked-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/sysctl_binary.c')
0 files changed, 0 insertions, 0 deletions
