stex_direct_copy copies an in-kernel buffer to a sg list in order to
spoof some SCSI commands. stex_direct_copy calls dma_map_sg and then
stex_internal_copy with the value that dma_map_sg returned. It calls
scsi_kmap_atomic_sg to copy data.
scsi_kmap_atomic_sg doesn't see sg->dma_length so if dma_
>-Original Message-
>From: fujita [mailto:[EMAIL PROTECTED] On Behalf Of FUJITA Tomonori
>Sent: Friday, February 22, 2008 6:11 AM
>To: linux-scsi@vger.kernel.org
>Cc: FUJITA Tomonori; Ed Lin; James Bottomley
>Subject: [PATCH 1/2] stex: stex_direct_copy shouldn
2 matches
Mail list logo