[lkml]   [2018]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] crypto: tcrypt: Remove VLA usage
On Thu, Apr 26, 2018 at 07:57:28PM -0700, Kees Cook wrote:
> In the quest to remove all stack VLA usage from the kernel[1], this
> allocates the return code buffers before starting jiffie timers, rather
> than using stack space for the array. Additionally cleans up some exit
> paths and make sure that the num_mb module_param() is used only once
> per execution to avoid possible races in the value changing.
> [1]
> Signed-off-by: Kees Cook <>

Patch applied. Thanks.
Email: Herbert Xu <>
Home Page:
PGP Key:

 \ /
  Last update: 2018-05-05 09:18    [W:0.059 / U:2.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site