Hi,

On 24/04/2026 1:48 PM, Yunjian Wang wrote:
A crash is triggered when memory malloc for FCQS fails. Currently,
the abnormal branch releases the txq, and it removes the 'txq_ctrl->obj'
from the linked list, but the 'txq_ctrl->obj' has not actually been
added to the linked list yet. This triggers a null pointer reference
issue.

The call stack is as follows:
Program terminated with signal 11, Segmentation fault.
1210                    LIST_REMOVE(txq_ctrl->obj, next);
(gdb) bt
  #0 mlx5_txq_release
  #1 mlx5_txq_start
  #2 mlx5_dev_start
  #3 rte_eth_dev_start
  #4 member_start
  #5 bond_ethdev_start

Fixes: f49f44839df3 ("net/mlx5: share Tx control code")
Cc: [email protected]

Signed-off-by: Yunjian Wang <[email protected]>

Patch applied to next-net-mlx,

Kindest regards
Raslan Darawsheh

Reply via email to