Re: [PATCH net 5/6] net: dsa: ksz: fix wrong pvid

From: Florian Fainelli
Date: Wed Jan 13 2021 - 12:24:01 EST


On 1/13/21 4:45 AM, Gilles DOFFE wrote:
> A logical 'or' was performed until now.
> So if vlan 1 is the current pvid and vlan 20 is set as the new one,
> vlan 21 is the new pvid.
> This commit fixes this by setting the right mask to set the new pvid.
>
> Signed-off-by: Gilles DOFFE <gilles.doffe@xxxxxxxxxxxxxxxxxxxx>

Looks about right, can you provide a Fixes: tag for this change?
--
Florian