diff options
author | 2016-03-07 15:15:29 +0100 | |
---|---|---|
committer | 2016-03-07 11:39:15 -0500 | |
commit | 912b1c89c5043e163f8cfa568512a131976121b2 (patch) | |
tree | 19a9130c83ab5def41f7acf5542e276810191b22 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tipc: fix nullptr crash during subscription cancel (diff) | |
download | wireguard-linux-912b1c89c5043e163f8cfa568512a131976121b2.tar.xz wireguard-linux-912b1c89c5043e163f8cfa568512a131976121b2.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions