RE: [PATCH] net/mlx5: fix use after free on Rx queue start

2023-11-12 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Dariusz Sosnowski > Sent: Thursday, November 9, 2023 7:58 PM > To: Matan Azrad ; Slava Ovsiienko > ; Ori Kam ; Suanming Mou > ; Xueming(Steven) Li > Cc: dev@dpdk.org; Raslan Darawsheh ; > sta...@dpdk.org > Subject: [PATCH] net/

[PATCH] net/mlx5: fix use after free on Rx queue start

2023-11-09 Thread Dariusz Sosnowski
If RX queue is not started yet, then a mlx5_rxq_obj struct used for storing HW queue objects will be allocated and added to the list held in port's private data structure. After that allocation, Rx queue HW object configuration is done. If that configuration failed, then mlx5_rxq_obj struct is free