Re: crypto: algif - avoid excessive use of socket buffer in skcipher

2014-12-11 Thread Ben Hutchings
On Mon, 2014-11-10 at 11:50 +0100, Ondrej Kozina wrote: > Hello, > > could you please add this patch (already landed in 3.18-rc1) to > following stable kernels: > > 3.17.x, 3.14.x, 3.12.x, 3.4.x, 3.2.x? > > The bugfix allows usage of crypto API socket on archs with PAGE_SIZE >= > 32 KiB (I hav

Re: crypto: algif - avoid excessive use of socket buffer in skcipher

2014-11-12 Thread Luis Henriques
t; - http://bugzilla.redhat.com/show_bug.cgi?id=1160289 > > Thank you > Ondrej > > --- > > Upstream commit e2cffb5f493a8b431dc87124388ea59b79f0bccb > Author: Ondrej Kozina > Date: Mon Aug 25 11:49:54 2014 +0200 > > crypto: algif - avoid exces

Re: crypto: algif - avoid excessive use of socket buffer in skcipher

2014-11-10 Thread Greg KH
On Mon, Nov 10, 2014 at 11:50:36AM +0100, Ondrej Kozina wrote: > Hello, > > could you please add this patch (already landed in 3.18-rc1) to following > stable kernels: > > 3.17.x, 3.14.x, 3.12.x, 3.4.x, 3.2.x? > > The bugfix allows usage of crypto API socket on archs with PAGE_SIZE >= 32 > KiB (

crypto: algif - avoid excessive use of socket buffer in skcipher

2014-11-10 Thread Ondrej Kozina
11:49:54 2014 +0200 crypto: algif - avoid excessive use of socket buffer in skcipher On archs with PAGE_SIZE >= 64 KiB the function skcipher_alloc_sgl() fails with -ENOMEM no matter what user space actually requested. This is caused by the fact sock_kmalloc call inside the fu