From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] rxrpc: Don't put crypto buffers on the stack Date: Thu, 08 Feb 2018 13:48:47 -0500 (EST) Message-ID: <20180208.134847.2294397519191048232.davem@davemloft.net> References: <151810554726.19320.4571236293389358221.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org To: dhowells@redhat.com Return-path: In-Reply-To: <151810554726.19320.4571236293389358221.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: David Howells Date: Thu, 08 Feb 2018 15:59:07 +0000 > Don't put buffers of data to be handed to crypto on the stack as this may > cause an assertion failure in the kernel (see below). Fix this by using an > kmalloc'd buffer instead. ... > Reported-by: Jonathan Billings > Reported-by: Marc Dionne > Signed-off-by: David Howells > Tested-by: Jonathan Billings Applied, thanks David.