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 have a typo

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

2014-11-12 Thread Luis Henriques
you Ondrej --- Upstream commit e2cffb5f493a8b431dc87124388ea59b79f0bccb Author: Ondrej Kozina okoz...@redhat.com Date: Mon Aug 25 11:49:54 2014 +0200 crypto: algif - avoid excessive use of socket buffer in skcipher On archs with PAGE_SIZE = 64 KiB

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

2014-11-10 Thread Ondrej Kozina
: Mon Aug 25 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

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 (I have a