]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq
authorZhengchao Shao <shaozhengchao@huawei.com>
Tue, 19 Jul 2022 04:23:23 +0000 (12:23 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Jul 2022 10:28:54 +0000 (18:28 +0800)
commita093ad06fdf71dea193c5dc60006b33e38ac8c8e
tree96104eaeb6f4fe38fad459bf9b081d7f917c84c2
parent65d3e224688930e90b62a8cdedc23a4cda1fbfc9
crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq

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: 5c552758e614 ("crypto: hisilicon - add HiSilicon HPRE accelerator")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/hpre/hpre_crypto.c