Commit 23c63b9d authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Zheng Zengkai
Browse files

crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq

stable inclusion
from stable-v5.10.137
commit cb6277507998fd7d36062c5548bf6a9bb5fa356a
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=cb6277507998fd7d36062c5548bf6a9bb5fa356a



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

[ Upstream commit 98dfa934 ]

The hpre encryption driver may be used to encrypt and decrypt packets
during the rx softirq, it is not allowed to use GFP_KERNEL.

Fixes: c8b4b477 ("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent d65caecb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment