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-11-04 22:55:38 +01:00
2021-07-22 00:11:14 +02:00
2021-11-08 13:56:29 +01:00
2021-07-22 00:11:14 +02:00
2021-10-22 18:15:38 +02:00
2021-10-22 18:15:38 +02:00
2021-11-10 15:44:42 +01:00
2020-11-03 23:35:04 +01:00
2021-08-17 08:37:52 +02:00