]> git.baikalelectronics.ru Git - kernel.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)
commit9e8806766daa3ee3eb502323709b2ee9a0c1dc4d
treedf6a6e34dba88a107459702a91b8f3410d479515
parentfb86a343de00ff6532ef920c01e3a05046e9b1c1
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