summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/broadcom/tg3.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2016-03-07 15:15:29 +0100
committerDavid S. Miller <davem@davemloft.net>2016-03-07 11:39:15 -0500
commit912b1c89c5043e163f8cfa568512a131976121b2 (patch)
tree19a9130c83ab5def41f7acf5542e276810191b22 /drivers/net/ethernet/broadcom/tg3.c
parent4de13d7ed6ffdcbb34317acaa9236f121176f5f8 (diff)
mlxsw: spectrum: Always decrement bridge's ref count
Since we only support one VLAN filtering bridge we need to associate a reference count with it, so that when the last port netdev leaves it, we would know that a different bridge can be offloaded to hardware. When a LAG device is memeber in a bridge and port netdevs are leaving the LAG, we should always decrement the bridge's reference count, as it's incremented for any port in the LAG. Fixes: 4dc236c31733 ("mlxsw: spectrum: Handle port leaving LAG while bridged") 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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
0 files changed, 0 insertions, 0 deletions