[dpdk-dev] [PATCH] net/mlx5: fix invalid Rx/Tx queue checks

Thomas Monjalon thomas at monjalon.net
Thu Jul 22 15:50:30 CEST 2021


20/07/2021 09:53, Dmitry Kozlyuk:
> When device configuration was interrupted by a signal,
> mlx5_rxq/txq_release() could access yet unitinialized array
> and crash the application. Add checks whether queue array
> is initialized.
> 
> Fixes: a1366b1a2be3 ("net/mlx5: add reference counter on DPDK Rx queues")
> Fixes: 6e78005a9b30 ("net/mlx5: add reference counter on DPDK Tx queues")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Dmitry Kozlyuk <dkozlyuk at nvidia.com>
> Acked-by: Matan Azrad <matan at nvidia.com>

Applied, thanks.

PS: no need fo "invalid" word after "fix".






More information about the dev mailing list