> -----Original Message-----
> From: Alexander Kozyrev <[email protected]>
> Sent: Wednesday, November 9, 2022 14:58
> To: [email protected]
> Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava Ovsiienko
> <[email protected]>; Matan Azrad <[email protected]>; Michael Baum
> <[email protected]>
> Subject: [PATCH] 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: [email protected]
>
> Signed-off-by: Alexander Kozyrev <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>