From: Herbert Xu <[EMAIL PROTECTED]> Date: Mon, 3 Jul 2006 00:21:44 +1000
> [CRYPTO] api: Added spawns > > Spawns lock a specific crypto algorithm in place. They can then be used > with crypto_spawn_tfm to allocate a tfm for that algorithm. When the base > algorithm of a spawn is deregistered, all its spawns will be automatically > removed. > > Signed-off-by: Herbert Xu <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> Ok, now the locking makes sense. You take the alg semaphore before you start removing spawns and the referenced algorithms, send out the notifier for the manager and other entities, and then drop the alg semaphore once all the list mangling and message sending is done. - To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
