Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 13 Mar 2018 15:58:53 -0400
From: Vivien Didelot <>
To: Salvatore Mesoraca <>,
Cc:,, "David S. Miller" <>, Andrew Lunn <>, Florian Fainelli <>, Kees Cook <>, Salvatore Mesoraca <>
Subject: Re: [PATCH] net: dsa: drop some VLAs in switch.c

Hi Salvatore,

Salvatore Mesoraca <> writes:

> dsa_switch's num_ports is currently fixed to DSA_MAX_PORTS. So we avoid
> 2 VLAs[1] by using DSA_MAX_PORTS instead of ds->num_ports.
> [1]
> Signed-off-by: Salvatore Mesoraca <>


We are in the process to remove hardcoded limits such as DSA_MAX_PORTS
and DSA_MAX_SWITCHES, so we have to stick with ds->num_ports.



Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ