• Herbert Xu's avatar
    crypto: ghash-ce - Fix cryptd reordering · 820573eb
    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>
    820573eb
ghash-ce-glue.c 8.18 KB