Messages in this thread | | | Date | Wed, 02 May 2018 11:11:48 -0400 (EDT) | Subject | Re: [PATCH] net: stmmac: Avoid VLA usage | From | David Miller <> |
| |
From: Kees Cook <keescook@chromium.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@chromium.org>
Applied to net-next, thank you.
| |