[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20161031203616.3yuvu2l4k3xf6yb7@splinter>
Date: Mon, 31 Oct 2016 22:36:16 +0200
From: Ido Schimmel <idosch@...sch.org>
To: David Miller <davem@...emloft.net>
Cc: jiri@...nulli.us, netdev@...r.kernel.org, eladr@...lanox.com,
idosch@...lanox.com, yotamg@...lanox.com, nogahf@...lanox.com,
ogerlitz@...lanox.com
Subject: Re: [patch net] mlxsw: spectrum: Fix incorrect reuse of MID entries
Hi,
On Mon, Oct 31, 2016 at 03:36:06PM -0400, David Miller wrote:
> From: Jiri Pirko <jiri@...nulli.us>
> Date: Sun, 30 Oct 2016 10:09:22 +0100
>
> > From: Ido Schimmel <idosch@...lanox.com>
> >
> > In the device, a MID entry represents a group of local ports, which can
> > later be bound to a MDB entry.
> >
> > The lookup of an existing MID entry is currently done using the provided
> > MC MAC address and VID, from the Linux bridge. However, this can result
> > in an incorrect reuse of the same MID index in different VLAN-unaware
> > bridges (same IP MC group and VID 0).
> >
> > Fix this by performing the lookup based on FID instead of VID, which is
> > unique across different bridges.
> >
> > Fixes: 3a49b4fde2a1 ("mlxsw: Adding layer 2 multicast support")
> > Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> > Acked-by: Elad Raz <eladr@...lanox.com>
> > Signed-off-by: Jiri Pirko <jiri@...lanox.com>
>
> Applied, should I queue this up for -stable?
I don't think it's necessary, but thanks for asking! We recently picked
up the habit of noting what we would like to see in -stable.
Powered by blists - more mailing lists