Commit f6d09034 authored by Wenkai Lin's avatar Wenkai Lin Committed by JiangShui
Browse files

crypto: hisilicon/sec - fix for sgl unmmap problem

mainline inclusion
from mainline-v6.7-rc1
commit ce2cb2e1b8a27d929a0eaa042049912b0756efe0
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8FI6W
CVE: NA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=ce2cb2e1b8a27d929a0eaa042049912b0756efe0



----------------------------------------------------------------------

When sec_aead_mac_init returns an error code, sec_cipher_map
will exit abnormally, the hardware sgl should be unmmaped.

Signed-off-by: default avatarWenkai Lin <linwenkai6@hisilicon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarJiangShui Yang <yangjiangshui@h-partners.com>
parent ff2d125e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment