[PATCH AUTOSEL for 4.15 169/189] rxrpc: Don't put crypto buffers on the stack

2018-04-08 Thread Sasha Levin
From: David Howells [ Upstream commit 8c2f826dc36314059ac146c78d3bf8056b626446 ] 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. kernel BUG at

[PATCH AUTOSEL for 4.15 169/189] rxrpc: Don't put crypto buffers on the stack

2018-04-08 Thread Sasha Levin
From: David Howells [ Upstream commit 8c2f826dc36314059ac146c78d3bf8056b626446 ] 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. kernel BUG at