summaryrefslogtreecommitdiff
path: root/drivers/scsi/3w-9xxx.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-04-23 09:48:50 +0200
committerJames Bottomley <JBottomley@Odin.com>2015-04-27 10:05:55 -0700
commit9cd9554615cba14f0877cc9972a6537ad2bdde61 (patch)
treec046377992e59614f19630da661f64436a507ccb /drivers/scsi/3w-9xxx.h
parent579d69bc1fd56d5af5761969aa529d1d1c188300 (diff)
3w-xxxx: fix command completion race
The 3w-xxxx driver needs to tear down the dma mappings before returning the command to the midlayer, as there is no guarantee the sglist and count are valid after that point. Also remove the dma mapping helpers which have another inherent race due to the request_id index. Signed-off-by: Christoph Hellwig <hch@lst.de> Cc: stable@vger.kernel.org Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Odin.com>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions