]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scsi: csiostor: fix missing data copy in csio_scsi_err_handler()
authorVarun Prakash <varun@chelsio.com>
Fri, 5 Apr 2019 15:09:13 +0000 (20:39 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 9 Apr 2019 02:18:35 +0000 (22:18 -0400)
commit5c2442fd78998af60e13aba506d103f7f43f8701
tree4b3dea422115364d591e128bbe122435e233a9e9
parent4eb01535886644d79a58fe652e0782a194bc3402
scsi: csiostor: fix missing data copy in csio_scsi_err_handler()

If scsi cmd sglist is not suitable for DDP then csiostor driver uses
preallocated buffers for DDP, because of this data copy is required from
DDP buffer to scsi cmd sglist before calling ->scsi_done().

Signed-off-by: Varun Prakash <varun@chelsio.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/csiostor/csio_scsi.c