[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YEDiF1Gv3VUGfX39@lunn.ch>
Date: Thu, 4 Mar 2021 14:35:19 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Vladimir Oltean <olteanv@...il.com>
Cc: davem@...emloft.net, kuba@...nel.org, netdev@...r.kernel.org,
vivien.didelot@...il.com, f.fainelli@...il.com,
Vladimir Oltean <vladimir.oltean@....com>
Subject: Re: [PATCH net 2/2] net: dsa: sja1105: fix ucast/bcast flooding
always remaining enabled
On Thu, Mar 04, 2021 at 12:56:54PM +0200, Vladimir Oltean wrote:
> From: Vladimir Oltean <vladimir.oltean@....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.oltean@....com>
Reviewed-by: Andrew Lunn <andrew@...n.ch>
Andrew
Powered by blists - more mailing lists