• Herbert Xu's avatar
    crypto: ghash-clmulni - Fix cryptd reordering · 7271b33c
    Herbert Xu authored
    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>
    7271b33c
ghash-clmulni-intel_glue.c 9.25 KB