Adrien Mazarguil e89c15b697 net/mlx5: fix crash when configure is not called
Although uncommon, applications may destroy a device immediately after
probing it without going through dev_configure() first.

This patch addresses a crash which occurs when mlx5_dev_close() calls
mlx5_mr_release() due to an uninitialized entry in the private structure.

Fixes: 974f1e7ef146 ("net/mlx5: add new memory region support")

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
2018-05-28 07:50:38 +02:00
..
2018-05-17 19:06:29 +02:00
2018-05-14 22:31:53 +01:00
2018-05-23 00:35:01 +02:00
2018-05-14 22:31:51 +01:00
2018-05-14 22:31:51 +01:00
2018-04-27 15:54:55 +01:00
2018-05-23 00:35:01 +02:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:53 +01:00
2018-05-25 17:07:40 +02:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:53 +01:00
2018-05-14 22:31:51 +01:00
2018-05-14 22:31:51 +01:00
2018-04-27 15:54:55 +01:00
2018-04-19 14:10:44 +02:00