[dpdk-dev] [PATCH] net/mlx5: fix crash when configure is not called
Yongseok Koh
yskoh at mellanox.com
Thu May 24 20:33:15 CEST 2018
> On May 24, 2018, at 11:21 AM, Yongseok Koh <yskoh at mellanox.com> wrote:
>
>
>> On May 24, 2018, at 7:36 AM, Adrien Mazarguil <adrien.mazarguil at 6wind.com> wrote:
>>
>> 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")
>> Cc: Yongseok Koh <yskoh at mellanox.com>
>>
>> Signed-off-by: Adrien Mazarguil <adrien.mazarguil at 6wind.com>
>> ---
> Acked-by: Yongseok Koh <yskoh at mellanox.com>
And you might want to write the same patch for mlx4.
Thanks,
Yongseok
More information about the dev
mailing list