net/mlx5: fix indirect action memory leak
PATCH 1/1 net/mlx5: fix indirect action memory leak
There is a handle that is not freed when using
indirect action list to manipulate legacy action.
Fixes e26f50adb ("net/mlx5: support indirect list meter mark action")
Signed-off-by Rongwei Liu <[email protected]>
Acked-by Bing Zhao <[email protected]>
--- drivers/net/mlx5/mlx5_flow_hw.c | 1 + 1 file changed, 1 insertion(+)
drivers/net/mlx5/mlx5_flow_hw.c +1 -0
@@ -14959,6 +14959,7 @@ flow_hw_async_action_list_handle_destroy legacy->handle, user_data, error);mlx5_indirect_list_remove_entry (&legacy->indirect); +mlx5_free (legacy); goto end; }if (attr) {
Signature · 1 line
2.27.0
Hi,
Quoted 8 lines · Rongwei Liu
There is a handle that is not freed when using
indirect action list to manipulate legacy action.Fixes e26f50adb ("net/mlx5: support indirect list meter mark action")Signed-off-by Rongwei Liu <[email protected]>Acked-by Bing Zhao <[email protected]>
Patch applied to next-net-mlx,
Kindest regards
Raslan Darawsheh