aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorJames Bottomley <JBottomley@Parallels.com>2011-09-18 18:56:20 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-03 11:41:09 -0700
commit25e8bc02b48eb822dcb3d897c0ac4350f81d952a (patch)
tree05d57b72e4b511f9dfb310ea1ff5f6b468c07e74 /crypto
parent1f7af7b08bfd481507c3fce0f39dcd0af5192e6f (diff)
downloadkernel_samsung_espresso10-25e8bc02b48eb822dcb3d897c0ac4350f81d952a.zip
kernel_samsung_espresso10-25e8bc02b48eb822dcb3d897c0ac4350f81d952a.tar.gz
kernel_samsung_espresso10-25e8bc02b48eb822dcb3d897c0ac4350f81d952a.tar.bz2
3w-9xxx: fix iommu_iova leak
commit 96067723e46b0dd24ae7b934085ab4eff4d26a1b upstream. Following reports on the list, it looks like the 3e-9xxx driver will leak dma mappings every time we get a transient queueing error back from the card. This is because it maps the sg list in the routine that sends the command, but doesn't unmap again in the transient failure path (even though the command is sent back to the block layer). Fix by unmapping before returning the status. Reported-by: Chris Boot <bootc@bootc.net> Tested-by: Chris Boot <bootc@bootc.net> Acked-by: Adam Radford <aradford@gmail.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions