Dmitry Kozlyuk 0ece5de3c4 net/mlx5: fix crash on close after failed start
If mlx5_rxq_start() failed and rxq_ctrl was not initialized,
mlx5_rxq_obj_verify() would segfault in an attempt to dereference it.
Add a check that rxq_ctrl is not NULL before accessing its members.

Fixes: 09c2555303be ("net/mlx5: support shared Rx queue")

Signed-off-by: Dmitry Kozlyuk <dkozlyuk@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
2021-11-23 21:39:05 +01:00
..
2021-10-22 18:15:38 +02:00
2021-11-17 20:17:04 +01:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2021-11-16 13:01:52 +01:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2021-08-17 08:37:52 +02:00
2021-11-15 16:50:35 +01:00