From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net] mlxsw: spectrum_switchdev: Do not remove mrouter port from MDB's ports list Date: Fri, 27 Apr 2018 13:45:17 -0400 (EDT) Message-ID: <20180427.134517.1688383667846745426.davem@davemloft.net> References: <20180426084629.20978-1-idosch@mellanox.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, jiri@mellanox.com, nogahf@mellanox.com, colin.king@canonical.com, mlxsw@mellanox.com To: idosch@mellanox.com Return-path: Received: from shards.monkeyblade.net ([184.105.139.130]:55420 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751753AbeD0RpV (ORCPT ); Fri, 27 Apr 2018 13:45:21 -0400 In-Reply-To: <20180426084629.20978-1-idosch@mellanox.com> Sender: netdev-owner@vger.kernel.org List-ID: From: Ido Schimmel 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 > Reported-by: Colin King > Reviewed-by: Nogah Frankel Applied and queued up for -stable, thanks.