Hi,

> -----Original Message-----
> From: Alexander Kozyrev <[email protected]>
> Sent: Thursday, December 10, 2020 5:14 PM
> To: [email protected]
> Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava
> Ovsiienko <[email protected]>; Matan Azrad <[email protected]>
> Subject: [PATCH] net/mlx5: fix mbufs double free in vectorized MPRQ
> 
> Wrong index is used to find mbufs belonging to an application in
> the rxq_free_elts_sprq() function in the case of vectorized MPRQ.
> elts_ci points to the last allocated mbuf in this case, not rq_ci.
> Use this field to avoid double free of mbuf and segmentation fault.
> 
> Fixes: 0f20acbf5ed ("net/mlx5: implement vectorized MPRQ burst")
> Cc: [email protected]
> 
> Signed-off-by: Alexander Kozyrev <[email protected]>
> Acked-by: Viacheslav Ovsiienko <[email protected]>
> ---

Patch applied to next-net-mlx,

Kindest regards,
Raslan Darawsheh

Reply via email to