Thread (7 messages) flat view 7 messages, 5 authors, 2018-07-30

Re: [PATCH v2] net: dsa: Remove VLA usage

From: David Miller <davem@davemloft.net>
Date: 2018-07-18 20:33:35
Also in: lkml

From: Kees Cook <redacted>
Date: Mon, 16 Jul 2018 21:10:34 -0700
From: Salvatore Mesoraca <redacted>

We avoid 2 VLAs by using a pre-allocated field in dsa_switch. We also
try to avoid dynamic allocation whenever possible (when using fewer than
bits-per-long ports, which is the common case).

Link: http://lkml.kernel.org/r/CA+55aFzCG-zNmZwX4A2FQpadafLfEzK6CC=qPXydAacU1RqZWA@mail.gmail.com
Link: http://lkml.kernel.org/r/20180505185145.GB32630@lunn.ch
Signed-off-by: Salvatore Mesoraca <redacted>
[kees: tweak commit subject and message slightly]
Signed-off-by: Kees Cook <redacted>
Florian and Andrew, please review.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help