Linux kernel bug fix: net/mlx5: HWS, check the correct variable in hws_send_ring_alloc_sq()
Subsystem: drivers/net (drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c)
Bug type: null-deref, severity: high
Keywords: null pointer
Files changed: drivers/net/ethernet/mellanox/mlx5/core/steering/hws/mlx5hws_send.c
Introduced by Yevgeny Kliteynik on 2024-09-09 11:10:06 -0700; fixed by Dan Carpenter on 2024-09-15 08:38:56 -0700 (lifetime: 5 days)