[dpdk-dev] [PATCH v3 2/2] net/mlx5: fix resource leak in case of error

Yongseok Koh yskoh at mellanox.com
Tue May 8 21:19:47 CEST 2018


> On May 8, 2018, at 2:11 AM, Raslan Darawsheh <rasland at mellanox.com> wrote:
> 
> If something went wrong in mlx5 pci prop the allocated eth dev
> will cause a memory leak.
> 
> This commit release the eth dev that was previously allocated.
> 
> Fixes: 771fa900b73a ("mlx5: introduce new driver for Mellanox ConnectX-4 adapters")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Raslan Darawsheh <rasland at mellanox.com>
> 
> ---
Acked-by: Yongseok Koh <yskoh at mellanox.com>
 
Thanks



More information about the dev mailing list