aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/crypto/n2_core.c
diff options
context:
space:
mode:
authorLongfang Liu <liulongfang@huawei.com>2020-09-10 19:56:43 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-09-18 17:20:11 +1000
commit24efcec2919afa7d56f848c83a605b46c8042a53 (patch)
tree4cfcc76ce16a2a2af8863148582fff83c33f4164 /drivers/crypto/n2_core.c
parentcrypto: hisilicon - update ZIP module parameter description (diff)
downloadwireguard-linux-24efcec2919afa7d56f848c83a605b46c8042a53.tar.xz
wireguard-linux-24efcec2919afa7d56f848c83a605b46c8042a53.zip
crypto: hisilicon - fixed memory allocation error
1. Fix the bug of 'mac' memory leak as allocating 'pbuf' failing. 2. Fix the bug of 'qps' leak as allocating 'qp_ctx' failing. Signed-off-by: Longfang Liu <liulongfang@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/n2_core.c')
0 files changed, 0 insertions, 0 deletions