[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YuO3d13aIqsYMkhW@gondor.apana.org.au>
Date: Fri, 29 Jul 2022 18:33:27 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Zhengchao Shao <shaozhengchao@...wei.com>
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
liulongfang@...wei.com, davem@...emloft.net, xuzaibo@...wei.com,
weiyongjun1@...wei.com, yuehaibing@...wei.com
Subject: Re: [PATCH v2] crypto: hisilicon/hpre - don't use GFP_KERNEL to
alloc mem during softirq
On Tue, Jul 19, 2022 at 12:23:23PM +0800, Zhengchao Shao wrote:
> 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: c8b4b477079d ("crypto: hisilicon - add HiSilicon HPRE accelerator")
> Signed-off-by: Zhengchao Shao <shaozhengchao@...wei.com>
> ---
> This patch is not tested, compiled only.
> ---
> drivers/crypto/hisilicon/hpre/hpre_crypto.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists