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-21 15:38:07 +01:00
2021-11-05 17:04:53 +01:00
2021-11-04 22:55:38 +01:00
2021-11-07 16:21:03 +01:00
2021-11-07 16:21:03 +01:00
2021-10-21 09:31:13 +02:00
2021-11-04 22:55:50 +01:00
2021-11-07 16:21:03 +01:00
2021-11-23 17:57:19 +01:00
2021-11-04 22:55:40 +01:00
2021-11-01 14:53:36 +01:00
2021-11-02 18:59:17 +01:00
2021-11-23 14:24:17 +01:00
2021-11-23 14:24:17 +01:00
2021-07-22 00:11:14 +02:00
2021-11-10 15:44:44 +01:00
2021-11-08 13:56:29 +01:00
2021-11-23 17:57:19 +01:00
2021-07-22 00:11:14 +02:00
2021-11-23 21:39:05 +01:00
2021-11-04 22:55:51 +01:00
2021-11-04 22:55:51 +01:00
2021-11-04 22:55:51 +01:00
2021-11-04 22:55:49 +01:00
2021-10-22 18:15:38 +02:00
2021-11-04 22:55:48 +01:00
2021-10-21 15:58:00 +02:00
2021-11-04 22:55:49 +01:00
2021-11-21 15:38:07 +01:00
2021-04-15 08:24:59 +02:00
2021-04-15 08:24:59 +02:00
2021-04-15 08:24:59 +02:00
2021-04-15 08:24:59 +02:00
2021-10-22 18:15:38 +02:00
2021-11-23 17:57:13 +01:00
2021-11-16 17:55:17 +01:00
2021-11-17 10:42:20 +01:00
2021-07-15 15:19:13 +02:00
2021-07-15 15:19:13 +02:00
2021-11-04 22:55:48 +01:00
2021-11-14 16:26:49 +01: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