Commit 138804c2 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: api - Ensure cra_type->destroy is done in process context



Move the cra_type->destroy call out of crypto_alg_put and into
crypto_unregister_alg and crypto_free_instance.  This ensures
that it's always done in process context so calls such as flush_work
can be done.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 3860642e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment