Loading
crypto: hisilicon/sec - Fix memory leak for sec resource release
maillist inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I9GMIW CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev.git/commit/?id=bba4250757b4 ---------------------------------------------------------------------- The AIV is one of the SEC resources. When releasing resources, it need to release the AIV resources at the same time. Otherwise, memory leakage occurs. The aiv resource release is added to the sec resource release function. Fixes: 7ad650cb ("crypto: hisilicon/sec - Fix memory leak for sec resource release") Signed-off-by:Chenghai Huang <huangchenghai2@huawei.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by:
JangShui Yang <yangjiangshui@h-partners.com> Signed-off-by:
XiaoFeng Ma <maxiaofeng14@h-partners.com>