diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-17 08:57:40 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2024-08-24 15:39:15 +0200 |
commit | 37da5d0ffa7b61f79156fbbd3369f17b9a1638bd (patch) | |
tree | 7f82fc3f993918c8e540d12f2ebe2d6ae4498eb7 /crypto/aegis.h | |
parent | crypto: api - Remove instance larval fulfilment (diff) | |
download | linux-37da5d0ffa7b61f79156fbbd3369f17b9a1638bd.tar.xz linux-37da5d0ffa7b61f79156fbbd3369f17b9a1638bd.zip |
crypto: api - Do not wait for tests during registration
As registration is usually carried out during module init, this
is a context where as little work as possible should be carried
out. Testing may trigger module loads of underlying components,
which could even lead back to the module that is registering at
the moment. This may lead to dead-locks outside of the Crypto API.
Avoid this by not waiting for the tests to complete. They will
be scheduled but completion will be asynchronous. Any users will
still wait for completion.
Reported-by: Russell King <linux@armlinux.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/aegis.h')
0 files changed, 0 insertions, 0 deletions