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

Shahaf Shuler shahafs at mellanox.com
Wed May 9 11:50:20 CEST 2018



--Shahaf


> -----Original Message-----
> From: Yongseok Koh
> Sent: Tuesday, May 8, 2018 10:20 PM
> To: Raslan Darawsheh <rasland at mellanox.com>
> Cc: Shahaf Shuler <shahafs at mellanox.com>; dev at dpdk.org; Thomas
> Monjalon <thomas at monjalon.net>; Ophir Munk
> <ophirmu at mellanox.com>; stable at dpdk.org
> Subject: Re: [PATCH v3 2/2] net/mlx5: fix resource leak in case of error
> 
> 
> > 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.

Considering this patch as a temporary w.a. as there is patchset[1] which starts to address this issue from ethdev layer.

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


[1]
http://dpdk.org/dev/patchwork/patch/39544/



More information about the dev mailing list