summaryrefslogtreecommitdiff
path: root/drivers/scsi/3w-xxxx.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-04-23 10:48:49 +0300
committerJames Bottomley <JBottomley@Odin.com>2015-04-27 20:04:39 +0300
commit579d69bc1fd56d5af5761969aa529d1d1c188300 (patch)
tree0596feafadf90a837647d3e1b473c41b9fbecbac /drivers/scsi/3w-xxxx.c
parent8c08a6215a432a8f3629da0e8ccfd534ffa480f5 (diff)
downloadlinux-579d69bc1fd56d5af5761969aa529d1d1c188300.tar.xz
3w-sas: fix command completion race
The 3w-sas 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> Reported-by: Torsten Luettgert <ml-lkml@enda.eu> Tested-by: Bernd Kardatzki <Bernd.Kardatzki@med.uni-tuebingen.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-xxxx.c')
0 files changed, 0 insertions, 0 deletions