Re: [PATCH net] net: dsa: b53: Do not clear existing mirrored port mask

From: David Miller
Date: Sun Oct 06 2019 - 09:57:01 EST


From: Florian Fainelli <f.fainelli@xxxxxxxxx>
Date: Sat, 5 Oct 2019 15:05:18 -0700

> Clearing the existing bitmask of mirrored ports essentially prevents us
> from capturing more than one port at any given time. This is clearly
> wrong, do not clear the bitmask prior to setting up the new port.
>
> Reported-by: Hubert Feurstein <h.feurstein@xxxxxxxxx>
> Fixes: ed3af5fd08eb ("net: dsa: b53: Add support for port mirroring")
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>

Applied and queued up for -stable, thanks.