]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: ccree - fix backlog memory leak
authorGilad Ben-Yossef <gilad@benyossef.com>
Wed, 27 Nov 2019 08:49:08 +0000 (10:49 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 11 Dec 2019 08:36:55 +0000 (16:36 +0800)
commit4df2ef25b3b3618fd708ab484fe6239abd130fec
treef9ab35e714a4165a22936055250bee5ef82fc5e1
parent7c06603e20e999851978a7e1dcbcac026b467498
crypto: ccree - fix backlog memory leak

Fix brown paper bag bug of not releasing backlog list item buffer
when backlog was consumed causing a memory leak when backlog is
used.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Cc: stable@vger.kernel.org # v4.19+
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_request_mgr.c