On Sun, Oct 25, 2026 at 9:17 AM Maayan Kashani <[email protected]> wrote:
>
> mlx5_vdpa_rqt_prepare() allocates RQT attributes with rte_zmalloc() but
> returns without freeing them when no enabled receive queue is found
> (k == 0). Every steering update that hits this path leaks the
> allocation.
>
> Free attr before returning on the no-enabled-RQ path.
>
> Fixes: 9f09b1ca15c5 ("vdpa/mlx5: recreate a virtq becoming enabled")
> Cc: [email protected]
>
> Signed-off-by: Maayan Kashani <[email protected]>
> Acked-by: Dariusz Sosnowski <[email protected]>
> ---
>  drivers/vdpa/mlx5/mlx5_vdpa_steer.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>

Applied to next-virtio/for-next-net.

Thanks,
Maxime

Reply via email to