summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2018-12-06 20:44:51 +0300
committerDavid S. Miller <davem@davemloft.net>2018-12-07 00:31:08 +0300
commitf58a83c207b791c6586b9675a589db5c6ac7909e (patch)
tree0ac2d47532b404e0215eec6615dc2be4873e45e6 /tools/perf/scripts/python/export-to-postgresql.py
parent050fc01fb1d916058605569cd7f4e15152afc3af (diff)
downloadlinux-f58a83c207b791c6586b9675a589db5c6ac7909e.tar.xz
mlxsw: spectrum_switchdev: Avoid leaking FID's reference count
It should never be possible for a user to set a VNI on a FID in case one is already set. The driver therefore returns an error, but fails to drop the reference count taken earlier when calling mlxsw_sp_fid_8021d_lookup(). Drop the reference when this unlikely error is hit. Fixes: 1c30d1836aeb ("mlxsw: spectrum: Enable VxLAN enslavement to bridges") Signed-off-by: Ido Schimmel <idosch@mellanox.com> Reviewed-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