[PATCH] net/mlx5: fix indexed pool local cache crash
Raslan Darawsheh
rasland at nvidia.com
Wed Nov 9 17:01:24 CET 2022
Hi,
> -----Original Message-----
> From: Alexander Kozyrev <akozyrev at nvidia.com>
> Sent: Wednesday, November 9, 2022 2:58 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Raslan Darawsheh <rasland at nvidia.com>; Slava
> Ovsiienko <viacheslavo at nvidia.com>; Matan Azrad <matan at nvidia.com>;
> Michael Baum <michaelba at nvidia.com>
> 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: stable at dpdk.org
>
> Signed-off-by: Alexander Kozyrev <akozyrev at nvidia.com>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh
More information about the stable
mailing list