]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum: Use correct netdev when notifying bridge
authorIdo Schimmel <idosch@mellanox.com>
Wed, 27 Jan 2016 14:20:23 +0000 (15:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Jan 2016 23:55:31 +0000 (15:55 -0800)
commit7f055645d7d1678ba39dd09b2fc6576e4a6b915e
tree24d4c844d26cf5beeb09764de107eb2c77c23e2c
parentf1448b68ceb754cf5584937ac05c81440d26a547
mlxsw: spectrum: Use correct netdev when notifying bridge

LAG FDB entries pointing to VLAN devices should be reported to the
bridge with the matching VLAN device and not the underlying LAG device.

Fixes: 9410f1c4df9c ("mlxsw: spectrum: Adjust FDB notifications for VLAN devices")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c