Ocelot ports would still forward out ethernet broadcasts when they were
in the LEARNING or BLOCKING state. This is due to the
ocelot_get_bridge_fwd_mask, which would tell disabled ports to forward
packets out all FORWARDING ports. Broadcast storms would insue.
This patch restores the functionality of disabling forwarding for ports
that aren't in the FORWARDING state. No more broadcast storms.
Tested and verified on an in-development driver, and Vladimir has done
independent testing and verification on supported hardware.
Vladimir Oltean (1):
net: mscc: ocelot: fix forwarding from BLOCKING ports remaining
enabled
drivers/net/ethernet/mscc/ocelot.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
--
2.25.1
Hello:
This patch was applied to netdev/net.git (refs/heads/master):
On Wed, 22 Sep 2021 19:03:37 -0700 you wrote:
> Ocelot ports would still forward out ethernet broadcasts when they were
> in the LEARNING or BLOCKING state. This is due to the
> ocelot_get_bridge_fwd_mask, which would tell disabled ports to forward
> packets out all FORWARDING ports. Broadcast storms would insue.
>
> This patch restores the functionality of disabling forwarding for ports
> that aren't in the FORWARDING state. No more broadcast storms.
>
> [...]
Here is the summary with links:
- [v1,net,1/1] net: mscc: ocelot: fix forwarding from BLOCKING ports remaining enabled
https://git.kernel.org/netdev/net/c/acc64f52afac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html