[PATCH net internal] mlxsw: spectrum_switchdev: Do not remove mrouter port from MDB's ports list

Nogah Frankel nogahf at mellanox.com
Thu Apr 26 17:37:24 AEST 2018


> 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 <idosch at mellanox.com>
> Reported-by: Colin King <colin.king at canonical.com>
> ---
> Nogah, please review.

Reviewed-by: Nogah Frankel <nogahf at mellanox.com>

Thanks



More information about the Linux-mlxsw mailing list