summaryrefslogtreecommitdiffstats
path: root/drivers/net/can/sja1000
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-10-30 10:09:22 +0100
committerDavid S. Miller <davem@davemloft.net>2016-10-31 20:34:43 +0100
commit46d0847cdd4a3fc1920e56827b9189b9a105d362 (patch)
tree122aab319e53744db8b5b9f2c1f60678b7dadf72 /drivers/net/can/sja1000
parentqede: Fix statistics' strings for Tx/Rx queues (diff)
downloadlinux-46d0847cdd4a3fc1920e56827b9189b9a105d362.tar.xz
linux-46d0847cdd4a3fc1920e56827b9189b9a105d362.zip
mlxsw: spectrum: Fix incorrect reuse of MID entries
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@mellanox.com> Acked-by: Elad Raz <eladr@mellanox.com> Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/sja1000')
0 files changed, 0 insertions, 0 deletions