WSL2-Linux-Kernel/drivers/crypto/hisilicon/sec
Yunfeng Ye e00371af1d crypto: hisilicon - Matching the dma address for dma_pool_free()
When dma_pool_zalloc() fail in sec_alloc_and_fill_hw_sgl(),
dma_pool_free() is invoked, but the parameters that sgl_current and
sgl_current->next_sgl is not match.

Using sec_free_hw_sgl() instead of the original free routine.

Fixes: 915e4e8413 ("crypto: hisilicon - SEC security accelerator driver")
Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2019-09-20 22:53:09 +10:00
..
Makefile
sec_algs.c crypto: hisilicon - Matching the dma address for dma_pool_free() 2019-09-20 22:53:09 +10:00
sec_drv.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
sec_drv.h crypto: hisilicon - Use the correct style for SPDX License Identifier 2019-06-13 14:31:41 +08:00