On 3/25/2024 10:58 AM, Bing Zhao wrote:
> The memory of the indirect action handles should be freed after
> being destroyed in the flush. The behavior needs to be consistent
> with the single handle destroy port_action_handle_destroy().
> 
> Or else, there would be some memory leak when closing / detaching a
> port without quitting the application. In the meanwhile, since the
> action handles are already destroyed, it makes no sense to hold the
> indirect action software resources anymore.
> 
> Fixes: f7352c176bbf ("app/testpmd: fix use of indirect action after port 
> close")
> Cc: dmitry.kozl...@gmail.com
> Cc: sta...@dpdk.org
> 
> Signed-off-by: Bing Zhao <bi...@nvidia.com>
> Reviewed-by: Dariusz Sosnowski <dsosnow...@nvidia.com>
>

Acked-by: Ferruh Yigit <ferruh.yi...@amd.com>

Applied to dpdk-next-net/main, thanks.

Reply via email to