Re: [PATCH] crypto: algboss - don't wait during notifier callback

2020-06-11 Thread Herbert Xu
On Thu, Jun 04, 2020 at 11:52:53AM -0700, Eric Biggers wrote: > From: Eric Biggers > > When a crypto template needs to be instantiated, CRYPTO_MSG_ALG_REQUEST > is sent to crypto_chain. cryptomgr_schedule_probe() handles this by > starting a thread to instantiate the template, then waiting for t

Re: [PATCH] crypto: algboss - don't wait during notifier callback

2020-06-04 Thread Eric Biggers
On Thu, Jun 04, 2020 at 11:52:53AM -0700, Eric Biggers wrote: > From: Eric Biggers > > When a crypto template needs to be instantiated, CRYPTO_MSG_ALG_REQUEST > is sent to crypto_chain. cryptomgr_schedule_probe() handles this by > starting a thread to instantiate the template, then waiting for t

[PATCH] crypto: algboss - don't wait during notifier callback

2020-06-04 Thread Eric Biggers
From: Eric Biggers When a crypto template needs to be instantiated, CRYPTO_MSG_ALG_REQUEST is sent to crypto_chain. cryptomgr_schedule_probe() handles this by starting a thread to instantiate the template, then waiting for this thread to complete via crypto_larval::completion. This can deadlock