[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20191002.121004.2212668620537376356.davem@davemloft.net>
Date: Wed, 02 Oct 2019 12:10:04 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: linus.walleij@...aro.org
Cc: andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net: dsa: rtl8366: Check VLAN ID and not ports
From: Linus Walleij <linus.walleij@...aro.org>
Date: Tue, 1 Oct 2019 16:28:43 +0200
> There has been some confusion between the port number and
> the VLAN ID in this driver. What we need to check for
> validity is the VLAN ID, nothing else.
>
> The current confusion came from assigning a few default
> VLANs for default routing and we need to rewrite that
> properly.
>
> Instead of checking if the port number is a valid VLAN
> ID, check the actual VLAN IDs passed in to the callback
> one by one as expected.
>
> Fixes: d8652956cf37 ("net: dsa: realtek-smi: Add Realtek SMI driver")
> Signed-off-by: Linus Walleij <linus.walleij@...aro.org>
Applied and queued up for -stable, thanks.
Powered by blists - more mailing lists