On Tue, 2013-12-03 at 09:41 +0000, Cristian Stoica wrote:
> Hi Nikos,
> 
> I'm investigating a kernel crash that happens fairly quickly when multiple 
> cryptodev sessions are opened in parallel.
> I've tested the issue both on intel and power_pc and the traces are similar. 
> There is no support for hardware offloading in kernel - all algorithms in 
> kernel space are done in software.
> 
> I've tried to bisect the cryptodev code up to version 0.5-0.6 with no success 
> in pinpointing the issue. Do you have any ideas?

That's pretty strange as the issue is a crash on crypto_alloc_ahash()
which only includes the hash name parameter. If you protect the
cryptodev_cipher_init and cryptodev_hash_init with a mutex does it help?

regards,
Nikos



_______________________________________________
Cryptodev-linux-devel mailing list
Cryptodev-linux-devel@gna.org
https://mail.gna.org/listinfo/cryptodev-linux-devel

Reply via email to