aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2019-05-21 17:49:00 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2019-06-18 19:46:21 -0400
commit6594d31bab02e4a1d02355ff2f16a87dfc11b34f (patch)
tree16adc2ca6e3d669e718658b91858f40e6d237067 /drivers/scsi/lpfc/lpfc_init.c
parentscsi: lpfc: Prevent 'use after free' memory overwrite in nvmet LS handling (diff)
downloadlinux-dev-6594d31bab02e4a1d02355ff2f16a87dfc11b34f.tar.xz
linux-dev-6594d31bab02e4a1d02355ff2f16a87dfc11b34f.zip
scsi: lpfc: Cancel queued work for an IO when processing a received ABTS
When queued work is executed posting a new command to the transport the driver is reporting a null buffer. The driver had received an ABTS which matched a command that had been scheduled for delivery to the transport. The driver proceeded to cancel the command, but the work item was never cancelled. Fix by cancelling the queued work item. Also turns out the ABTS response was not properly sending a BA_ACC, so set the flag to send the ACC. Signed-off-by: Dick Kennedy <dick.kennedy@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions