]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qla2xxx: Don't call dma_free_coherent with IRQ disabled.
authorGiridhar Malavali <giridhar.malavali@cavium.com>
Thu, 28 Dec 2017 20:33:21 +0000 (12:33 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Jan 2018 04:41:05 +0000 (23:41 -0500)
commit5282755e0f6f0f21aaa95c1c16f76ac3e0f9a965
treedbbb9c34fbae857e7f8307bd53e9c6fae019670c
parentb3c20e9aa56282a5de0f67a784ee4cdd5b51b6c3
scsi: qla2xxx: Don't call dma_free_coherent with IRQ disabled.

The logo ELS command allocates dma coherent memory for the
data payload and serialize the completions. When this command
times out, the timeout routine completes the thread waiting
for completion which in turn cleanup resources allocated for
this ELS command processing. Don't call generic sp->free
routine when this ELS command times out to avoid to double
freeing of the same resources.

Signed-off-by: Giridhar Malavali <giridhar.malavali@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_init.c