On Thu, Mar 04, 2021 at 12:56:54PM +0200, Vladimir Oltean wrote: > From: Vladimir Oltean <vladimir.olt...@nxp.com> > > In the blamed patch I managed to introduce a bug while moving code > around: the same logic is applied to the ucast_egress_floods and > bcast_egress_floods variables both on the "if" and the "else" branches.
Some static analysers will report this. > This is clearly an unintended change compared to how the code used to be > prior to that bugfix, so restore it. > > Fixes: 7f7ccdea8c73 ("net: dsa: sja1105: fix leakage of flooded frames > outside bridging domain") > Signed-off-by: Vladimir Oltean <vladimir.olt...@nxp.com> Reviewed-by: Andrew Lunn <and...@lunn.ch> Andrew