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:
|
||
|---|---|---|
| .. | ||
| Makefile | ||
| sec_algs.c | ||
| sec_drv.c | ||
| sec_drv.h | ||