Skip to content
Commit 7271b33c authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: ghash-clmulni - Fix cryptd reordering



This patch fixes an old bug where requests can be reordered because
some are processed by cryptd while others are processed directly
in softirq context.

The fix is to always postpone to cryptd if there are currently
requests outstanding from the same tfm.

This patch also removes the redundant use of cryptd in the async
init function as init never touches the FPU.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 88407a39
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment