crypto: chcr - Fix panic on dma_unmap_sg
authorHarsh Jain <harsh@chelsio.com>
Tue, 24 Jan 2017 05:04:32 +0000 (10:34 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2017 09:45:44 +0000 (17:45 +0800)
commit94e1dab1c94715e18bb0bada503de3f3d7593076
tree2bfaeb25c1875f4b26ccdfa7ae2666d875da1c0e
parent685ce0626840e2673fe64ea8807684f7324fec5f
crypto: chcr - Fix panic on dma_unmap_sg

Save DMA mapped sg list addresses to request context buffer.

Signed-off-by: Atul Gupta <atul.gupta@chelsio.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/chelsio/chcr_algo.c
drivers/crypto/chelsio/chcr_crypto.h