> -----Original Message-----
> From: Alexander Kozyrev <[email protected]>
> Sent: Monday, October 28, 2024 7:15 PM
> To: [email protected]
> Cc: [email protected]; Raslan Darawsheh <[email protected]>; Slava
> Ovsiienko <[email protected]>; Matan Azrad <[email protected]>;
> Dariusz Sosnowski <[email protected]>; Bing Zhao
> <[email protected]>; Suanming Mou <[email protected]>
> Subject: [PATCH v2] net/mlx5: fix miniCQEs number calculation
> 
> Use the information from the CQE, not from the title packet, for getting the
> number of miniCQEs in the compressed CQEs array.
> This way we can avoid segfaults in the rxq_cq_decompress_v() in case of
> mbuf corruption (due to double mbuf free, for example).
> 
> Fixes: 6cb559d67b ("net/mlx5: add vectorized Rx/Tx burst for x86")
> 
> Signed-off-by: Alexander Kozyrev <[email protected]>
Acked-by: Viacheslav Ovsiienko <[email protected]>

Reply via email to