]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_switchdev: Check notification relevance based on upper device
authorIdo Schimmel <idosch@mellanox.com>
Thu, 11 Oct 2018 07:47:52 +0000 (07:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2018 17:08:22 +0000 (10:08 -0700)
commitb1af24044668c242f59bb1d4bcff18ac7311d6e0
tree636a9a52d4d760f68697dc53cfa34fbd987b8eb2
parent54bbcfc6b27ad5dd06bd41c638f5e0757418a004
mlxsw: spectrum_switchdev: Check notification relevance based on upper device

VxLAN FDB updates are sent with the VxLAN device which is not our upper
and will therefore be ignored by current code.

Solve this by checking whether the upper device (bridge) is our upper.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c