On Mon, May 19, 2025 at 04:49:45PM +0800, Qunqin Zhao wrote: > > Is it fine waiting in init-callback until someone calls exit-callback?
No that's just as bad as failing. Remember this is exposed to user-space through af_alg. If you make it wait it'll just appear to hang for the user invoking this. Cheers, -- Email: Herbert Xu <herb...@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt