Mike Christie f83bd690f6 scsi: qedi: Fix null ref during abort handling
[ Upstream commit 5777b7f0f03ce49372203b6521631f62f2810c8f ]

If qedi_process_cmd_cleanup_resp finds the cmd it frees the work and sets
list_tmf_work to NULL, so qedi_tmf_work should check if list_tmf_work is
non-NULL when it wants to force cleanup.

Link: https://lore.kernel.org/r/20210525181821.7617-20-michael.christie@oracle.com
Reviewed-by: Manish Rangankar <mrangankar@marvell.com>
Signed-off-by: Mike Christie <michael.christie@oracle.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:17:49 +02:00
..
2019-02-12 19:46:13 +01:00
2021-07-20 16:17:49 +02:00
2021-07-20 16:17:49 +02:00
2021-05-22 10:57:20 +02:00
2018-01-02 20:31:05 +01:00
2017-08-25 17:21:11 -04:00
2017-08-25 17:21:10 -04:00
2019-12-01 09:13:27 +01:00
2021-05-22 10:57:31 +02:00
2017-08-25 17:21:11 -04:00
2017-09-07 12:12:43 -07:00
2021-05-22 10:57:31 +02:00
2021-05-22 10:57:31 +02:00