diff options
| author | Yunfeng Ye <[email protected]> | 2019-09-15 09:31:14 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-09-20 12:53:09 +0000 |
| commit | e00371af1d4ce73d527d8ee69fda2febaf5a42c2 (patch) | |
| tree | 52dabd522fb90c53f42bfccc089a6b1e9bcef4df /security/selinux/netnode.c | |
| parent | crypto: hisilicon - Fix double free in sec_free_hw_sgl() (diff) | |
| download | kernel-e00371af1d4ce73d527d8ee69fda2febaf5a42c2.tar.gz kernel-e00371af1d4ce73d527d8ee69fda2febaf5a42c2.zip | |
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: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver")
Signed-off-by: Yunfeng Ye <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'security/selinux/netnode.c')
0 files changed, 0 insertions, 0 deletions
