Re: [dpdk-dev] [PATCH] net/mlx5: fix shared RSS destruction

2021-09-21 Thread Thomas Monjalon
01/09/2021 10:07, Dmitry Kozlyuk: > Shared RSS resources were released before checking that the shared RSS > has no more references. If it had, the destruction was aborted, leaving > the shared RSS in an invalid state where it could no longer be used. > Move reference counter check before resource

[dpdk-dev] [PATCH] net/mlx5: fix shared RSS destruction

2021-09-01 Thread Dmitry Kozlyuk
Shared RSS resources were released before checking that the shared RSS has no more references. If it had, the destruction was aborted, leaving the shared RSS in an invalid state where it could no longer be used. Move reference counter check before resource release. Fixes: d2046c09aa64 ("net/mlx5: