Revert "crypto: rsa-pkcs1pad - Replace GFP_ATOMIC with GFP_KERNEL in pkcs1pad_encrypt...
authorHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Jan 2023 10:08:56 +0000 (18:08 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 3 Feb 2023 04:54:54 +0000 (12:54 +0800)
commitd52b0c780c1f8cdd0cef9c6e683ab568d04bb19d
tree85d928d7f86e8c055fc124f5fb06a97de628a425
parent8a1955f95883cc0cb35b74f0cf58a283680323ac
Revert "crypto: rsa-pkcs1pad - Replace GFP_ATOMIC with GFP_KERNEL in pkcs1pad_encrypt_sign_complete"

This reverts commit 1ca2809897155f1adc43e4859b4a3582e235c09a.

While the akcipher API as a whole is designed to be called only
from thread context, its completion path is still called from
softirq context as usual.  Therefore we must not use GFP_KERNEL
on that path.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/rsa-pkcs1pad.c