summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2020-11-17 19:46:56 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-18 11:51:18 -0800
commitfbf805bf1fcd125461541a171194f9dcdb2732d7 (patch)
tree7c218e7a65b0a0b20127c06b827690ec571107da /tools/perf/scripts/python/export-to-postgresql.py
parentd04a53b1c48766665806eb75b73137734abdaa95 (diff)
mlxsw: spectrum_router: Fix wrong kfree() in error path
The function allocates 'nhgi', not 'nh_grp', so it needs to free the former in its error path. Fixes: 7f7a417e6a11 ("mlxsw: spectrum_router: Split nexthop group configuration to a different struct") Addresses-Coverity: ("Memory - corruptions (USE_AFTER_FREE)") Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions