diff options
| author | Kees Cook <keescook@chromium.org> | 2018-05-02 00:01:30 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2018-05-02 18:11:30 +0300 |
| commit | 8ac60ffb9a83c8f0f6b3bab5c205d75a32914904 (patch) | |
| tree | 2cf6169fe64f112c23cfd632c6c413f1b050aeb6 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 795d8098d32b6bef3d0821588cb6e4b1f369a7a4 (diff) | |
| download | linux-8ac60ffb9a83c8f0f6b3bab5c205d75a32914904.tar.xz | |
net: stmmac: Avoid VLA usage
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>
Reviewed-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
