linux/drivers/target/iscsi/cxgbit
Varun Prakash 6ecdafaec7 scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd()
Instead of calling dma_unmap_sg() after completing WRITE I/O, call
dma_unmap_sg() before calling target_execute_cmd() to sync the DMA buffer.

Link: https://lore.kernel.org/r/1618403949-3443-1-git-send-email-varun@chelsio.com
Cc: <stable@vger.kernel.org> # 5.4+
Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2021-05-14 22:28:17 -04:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: prefix header search paths with $(srctree)/ 2019-05-18 11:49:57 +09:00
cxgbit.h scsi: target: cxgbit: Remove tx flow control code 2020-07-08 01:48:24 -04:00
cxgbit_cm.c scsi: target: cxgbit: Remove tx flow control code 2020-07-08 01:48:24 -04:00
cxgbit_ddp.c scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd() 2021-05-14 22:28:17 -04:00
cxgbit_lro.h target/cxgbit: add T6 iSCSI DDP completion feature 2017-02-18 21:24:21 -08:00
cxgbit_main.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
cxgbit_target.c scsi: target: cxgbit: Unmap DMA buffer before calling target_execute_cmd() 2021-05-14 22:28:17 -04:00