aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2016-11-28 18:01:25 +0100
committerDavid S. Miller <[email protected]>2016-11-29 20:48:51 -0500
commit81d4d7289a6b8120d118f46c5182dbb86dca8436 (patch)
treed6e84fa7f256986cecafc3fa5a1c891ca195c72d /tools/perf/scripts/python/call-graph-from-postgresql.py
parent87259f18778cce3fe3b141c5f56a3e64e5ffa5a9 (diff)
mlxsw: core: Add missing rollback in error path
Without this rollback, the thermal zone is still registered during the error path, whereas its private data is freed upon the destruction of the underlying bus device due to the use of devm_kzalloc(). This results in use after free. Fix this by calling mlxsw_thermal_fini() from the appropriate place in the error path. Fixes: a50c1e35650b ("mlxsw: core: Implement thermal zone") Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions