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 12:56:32 +01:00
2021-11-15 18:01:09 +01:00
2021-10-22 18:15:38 +02:00
2021-10-25 21:20:12 +02:00
2021-10-25 21:20:12 +02:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-22 08:12:52 +01:00
2021-10-24 13:37:43 +02:00
2021-11-03 16:15:08 +01:00
2021-11-17 20:17:04 +01:00
2021-11-08 17:32:42 +01:00
2021-11-02 18:59:17 +01:00
2021-11-08 17:32:42 +01:00
2021-10-25 21:20:12 +02:00
2021-10-24 13:37:43 +02:00
2021-11-17 20:17:04 +01:00
2021-11-04 12:34:46 +01:00
2021-11-17 13:03:55 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-11-08 17:32:42 +01:00
2021-10-25 21:20:12 +02:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-10-22 18:15:38 +02:00
2021-11-16 13:01:52 +01:00
2021-11-08 17:32:42 +01:00
2021-11-23 14:24:16 +01:00
2021-11-23 21:39:05 +01:00
2021-11-17 20:17:04 +01:00
2021-11-17 20:17:04 +01:00
2021-10-25 21:20:12 +02:00
2021-10-22 18:15:38 +02:00
2021-11-16 13:01:52 +01:00
2021-11-17 20:17:04 +01:00
2021-10-22 18:15:38 +02:00
2021-11-16 13:01:46 +01:00
2021-11-02 18:59:17 +01:00
2021-10-29 16:09:18 +02:00
2021-11-10 11:42:34 +01: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-11-17 14:10:08 +01:00
2021-11-02 18:59:17 +01:00
2021-11-08 17:32:42 +01:00
2021-10-25 21:20:12 +02:00
2021-11-17 20:17:04 +01:00
2021-08-17 08:37:52 +02:00
2021-11-03 11:59:27 +01:00
2021-10-29 12:32:30 +02:00
2021-11-16 13:02:27 +01:00
2021-11-15 16:50:35 +01:00