diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-04-10 06:58:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-10 11:57:08 -0700 |
commit | 972fae683cbad5cf348268e76abc6d55cfb3ba87 (patch) | |
tree | da2dbfb16a4f1e3d05183e2bd762fc87df0eed21 /drivers/net/ethernet/calxeda | |
parent | b442fed1b724af0de087912a5718ddde1b87acbb (diff) |
mlxsw: spectrum_router: Do not check VRF MAC address
Commit 74bc99397438 ("mlxsw: spectrum_router: Veto unsupported RIF MAC
addresses") enabled the driver to veto router interface (RIF) MAC
addresses that it cannot support.
This check should only be performed for interfaces for which the driver
actually configures a RIF. A VRF upper is not one of them, so ignore it.
Without this patch it is not possible to set an IP address on the VRF
device and use it as a loopback.
Fixes: 74bc99397438 ("mlxsw: spectrum_router: Veto unsupported RIF MAC addresses")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reported-by: Alexander Petrovskiy <alexpe@mellanox.com>
Tested-by: Alexander Petrovskiy <alexpe@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/calxeda')
0 files changed, 0 insertions, 0 deletions