]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mlxsw: spectrum: Sanitize bridge's upper devices
authorIdo Schimmel <idosch@mellanox.com>
Fri, 10 Mar 2017 07:53:34 +0000 (08:53 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Mar 2017 17:36:06 +0000 (09:36 -0800)
commitb414970e210d39d81cc70b46f7d9aa8e07b9297f
treedf6a6e34dba88a107459702a91b8f3410d479515
parent1015d743fedab72ff2f5bbbc31bcc1a2a291c3c5
mlxsw: spectrum: Sanitize bridge's upper devices

We're going to allow bridges stacked on top of port netdevs to be
enslaved to a VRF, but for now, only VLAN uppers of the VLAN-aware
bridge are supported.

Sanitize any other bridge upper. This is consistent with the way we
sanitize port netdevs' uppers.

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.c