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)
commite43aca22ed039af235acc2ee0384f943c1fbfe83
tree24d4c844d26cf5beeb09764de107eb2c77c23e2c
parent004f85ea8258a2ffecdeecd154bdbe08409c13a4
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: aac78a440887 ("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