diff options
author | Shay Drory <shayd@nvidia.com> | 2021-02-02 12:21:04 +0200 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-03-10 11:01:58 -0800 |
commit | 6fa37d66ef2dc850ff18b2a057a84cd7ca8499bb (patch) | |
tree | 170237269fb3e8f2fdf01f8db7305d9851ce86ae /drivers/net/ethernet/intel/igc/igc_ethtool.c | |
parent | 6a3717544ce9ee8a2058fbc75c67060515435937 (diff) |
net/mlx5: SF: Fix memory leak of work item
Cited patch in the fixes tag missed to free the allocated work.
Fix it by freeing the work after work execution.
Fixes: f3196bb0f14c ("net/mlx5: Introduce vhca state event notifier")
Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_ethtool.c')
0 files changed, 0 insertions, 0 deletions