Re: [PATCH] crypto: caam: fix missing dma unmap on error path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 30, 2014 at 02:40:22PM +0200, Cristian Stoica wrote:
> If dma mapping for dma_addr_out fails, the descriptor memory is freed
> but the previous dma mapping for dma_addr_in remains.
> This patch resolves the missing dma unmap and groups resource
> allocations at function start.
> 
> Cc: <stable@xxxxxxxxxxxxxxx> # 3.13+
> Signed-off-by: Cristian Stoica <cristian.stoica@xxxxxxxxxxxxx>

Patch applied to crypto.

Thanks,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]