diff options
| author | Roi Dayan <roid@nvidia.com> | 2021-01-12 14:04:29 +0200 |
|---|---|---|
| committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-01-26 15:38:36 -0800 |
| commit | 487c6ef81eb98d0a43cb08be91b1fcc9b4250626 (patch) | |
| tree | a242e195832bd92f83b6373e91bdb765178fb9ff /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | Merge tag 'mac80211-for-net-2021-01-26' of git://git.kernel.org/pub/scm/linux... (diff) | |
| download | linux-487c6ef81eb98d0a43cb08be91b1fcc9b4250626.tar.gz linux-487c6ef81eb98d0a43cb08be91b1fcc9b4250626.zip | |
net/mlx5: Fix memory leak on flow table creation error flow
When we create the ft object we also init rhltable in ft->fgs_hash.
So in error flow before kfree of ft we need to destroy that rhltable.
Fixes: 693c6883bbc4 ("net/mlx5: Add hash table for flow groups in flow table")
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Maor Dickman <maord@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
