From: Ido Schimmel <[email protected]>
Date: Thu, 26 Apr 2018 11:46:29 +0300
> When IGMP snooping is enabled on a bridge, traffic forwarded by an MDB
> entry should be sent to both ports member in the MDB's ports list and
> mrouter ports.
>
> In case a port needs to be removed from an MDB's ports list, but this
> port is also configured as an mrouter port, then do not update the
> device so that it will continue to forward traffic through that port.
>
> Fix a copy-paste error that checked that IGMP snooping is enabled twice
> instead of checking the port's mrouter state.
>
> Fixes: ded711c87a04 ("mlxsw: spectrum_switchdev: Consider mrouter status for
> mdb changes")
> Signed-off-by: Ido Schimmel <[email protected]>
> Reported-by: Colin King <[email protected]>
> Reviewed-by: Nogah Frankel <[email protected]>
Applied and queued up for -stable, thanks.