Re: [Cryptodev-linux-devel] kernel crash during crypto_create_session

2013-12-03 Thread Nikos Mavrogiannopoulos
On Tue, 2013-12-03 at 09:41 +, 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 f

Re: [Cryptodev-linux-devel] openvpn issues with crytodev

2013-12-03 Thread Nikos Mavrogiannopoulos
On Mon, 2013-12-02 at 16:33 +0100, Karl Hiramoto wrote: > Hi all, > > I'm using openssl 1.0.1e and OpenVPN 2.3.2 > > I'm using the cryptodev-linux/extras/eng_cryptodev.c with openssl [...] > Mon Dec 2 14:56:26 2013 us=282785 test1/10.64.1.3:64764 PID_ERR large > diff [1693821396] [SSL-0] > [

Re: [Cryptodev-linux-devel] [PATCH 2/4] fix memleak avalanche when system is low on memory

2013-12-03 Thread Cristian Stoica
Hi Nikos, I think I've missed an important case with this patch: filp->private_data should be set immediately after kzalloc to address the failure of this one too. Regards, Cristian S. > diff --git a/ioctl.c b/ioctl.c > index e918e8d..53f2719 100644 > --- a/ioctl.c > +++ b/ioctl.c > @@ -454,6

[Cryptodev-linux-devel] kernel crash during crypto_create_session

2013-12-03 Thread Cristian Stoica
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