summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/allwinner
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2019-10-31 17:14:38 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-11-08 23:15:52 +0800
commit746c908c4d72e49068ab216c3926d2720d71a90d (patch)
treee4d16341a1b9a7a48a458a20c8a9148e5450e403 /drivers/crypto/allwinner
parent6a101349f8a71ec5f9466e61f22306b68ef49600 (diff)
crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
This patch fixes a crash that can happen during probe when the available dma memory is not enough (this can happen if the crypto4xx is built as a module). The descriptor window mapping would end up being free'd twice, once in crypto4xx_build_pdr() and the second time in crypto4xx_destroy_sdr(). Fixes: 5d59ad6eea82 ("crypto: crypto4xx - fix crypto4xx_build_pdr, crypto4xx_build_sdr leak") Cc: <stable@vger.kernel.org> Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/allwinner')
0 files changed, 0 insertions, 0 deletions