diff options
author | Kamal Heib <[email protected]> | 2016-09-20 14:55:31 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2016-09-22 01:41:27 -0400 |
commit | fba1296624bf95fc07057da1e26beee8a733180c (patch) | |
tree | 9b296bfe850046f955b7e4ca3442e75c0289178a /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7932aa1e43b4d4117be7671bb299103e549aec11 (diff) |
net/mlx4_core: Fix to clean devlink resources
This patch cleans devlink resources by calling devlink_port_unregister()
to avoid the following issues:
- Kernel panic when triggering reset flow.
- Memory leak due to unfreed resources in mlx4_init_port_info().
Fixes: 09d4d087cd48 ("mlx4: Implement devlink interface")
Signed-off-by: Kamal Heib <[email protected]>
Signed-off-by: Tariq Toukan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions