Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/mlx5: fix drop action memory leak
[ upstream commit 177d90ddd6e0e223966c2fb8a55e036cfb47db7a ] In DV mode, when quitting an application, the default drop action and its resources should be released. The Devx action for the TIR was not destroyed and it would cause 80B memory leak. With this commit, in DV mode, the action should be destroyed in the mlx5_devx_drop_action_destroy() explicitly. Bugzilla ID: 1192 Bugzilla ID: 1255 Fixes: bc5bee0 ("net/mlx5: create drop queue using DevX") Reported-by: David Marchand <david.marchand@redhat.com> Reported-by: Mário Kuka <kuka@cesnet.cz> Signed-off-by: Bing Zhao <bingz@nvidia.com> Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
- Loading branch information