[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180502.111148.1024361659031057391.davem@davemloft.net>
Date: Wed, 02 May 2018 11:11:48 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: keescook@...omium.org
Cc: peppe.cavallaro@...com, alexandre.torgue@...com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
Jose.Abreu@...opsys.com
Subject: Re: [PATCH] net: stmmac: Avoid VLA usage
From: Kees Cook <keescook@...omium.org>
Date: Tue, 1 May 2018 14:01:30 -0700
> In the quest to remove all stack VLAs from the kernel[1], this switches
> the "status" stack buffer to use the existing small (8) upper bound on
> how many queues can be checked for DMA, and adds a sanity-check just to
> make sure it doesn't operate under pathological conditions.
>
> [1] http://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
>
> Signed-off-by: Kees Cook <keescook@...omium.org>
Applied to net-next, thank you.
Powered by blists - more mailing lists