diff options
author | Ido Schimmel <idosch@mellanox.com> | 2018-12-19 06:08:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 12:28:07 -0800 |
commit | 927d0ef10a1071fba491b4858267fbb87ff19ed1 (patch) | |
tree | 0e2056fb2d8ce82fb079dec1be1a32e07d4ce49b /drivers/net/ethernet/mellanox/mlxsw/spectrum_fid.c | |
parent | tipc: fix uninitialized value for broadcast retransmission (diff) | |
download | linux-dev-927d0ef10a1071fba491b4858267fbb87ff19ed1.tar.xz linux-dev-927d0ef10a1071fba491b4858267fbb87ff19ed1.zip |
mlxsw: spectrum: Sanitize VLAN interface's uppers
Currently, only VRF and macvlan uppers are supported on top of VLAN
device configured over a bridge, so make sure the driver forbids other
uppers.
Note that enslavement to a VRF is handled earlier in the notification
block, so there is no need to check for a VRF upper here.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions