[dpdk-dev] [PATCH] net/mlx5: fix crash when configure is not called

Yongseok Koh yskoh at mellanox.com
Thu May 24 20:21:59 CEST 2018


> 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>
 
Thanks



More information about the dev mailing list