diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-11-05 18:27:40 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-11-05 22:19:53 -0800 |
commit | 8b3f2eb038d3098b37715afced1e62bbc72da90f (patch) | |
tree | 3843e7ff739a9b285827d9a085bd3ec5be3ee345 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | e53a9d26cf80565cfb7172fc52a0dfac73613a0f (diff) |
net/mlx5: fix kvfree of uninitialized pointer spec
Currently when a call to esw_vport_create_legacy_ingress_acl_group
fails the error exit path to label 'out' will cause a kvfree on the
uninitialized pointer spec. Fix this by ensuring pointer spec is
initialized to NULL to avoid this issue.
Addresses-Coverity: ("Uninitialized pointer read")
Fixes: 10652f39943e ("net/mlx5: Refactor ingress acl configuration")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions