numam-dpdk/drivers
Alexander Kozyrev 7869d60380 net/mlx5: fix indexed pool local cache crash
Local cache for an indexed pool is not initialized in the situation when
all the indices are allocated on one CPU core and freed on another one.
That leads to a crash once we try to check its reference counter.
Check that the local cache is initialized before accessing this counter.

Fixes: d15c0946be ("net/mlx5: add indexed pool local cache")
Cc: stable@dpdk.org

Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
2022-11-10 18:15:55 +01:00
..
baseband drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
bus bus/auxiliary: prevent device from being probed again 2022-11-14 11:15:44 +01:00
common common/mlx5: fix shared mempool subscription 2022-11-10 18:15:47 +01:00
compress drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
crypto drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
dma drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
event drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
gpu drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
mempool drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
net net/mlx5: fix indexed pool local cache crash 2022-11-10 18:15:55 +01:00
raw drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
regex drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
vdpa drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00
meson.build drivers: omit symbol map when unneeded 2022-11-14 15:22:46 +01:00