On Tue, Feb 17, 2026 at 07:04:59AM -0800, Stephen Hemminger wrote:
> mlx5_txq_get() can return NULL for an unconfigured queue index,
> but the result is dereferenced to initialise txq_data before the
> NULL check on the following line.  Move the txq_data assignment
> after the NULL guard.
> 
> Fixes: 6f356d3840e6 ("net/mlx5: pass DevX object info in Tx queue start")
> Cc: [email protected]
> 
> Signed-off-by: Stephen Hemminger <[email protected]>

Acked-by: Dariusz Sosnowski <[email protected]>

Reply via email to