From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [dpdk-stable] [PATCH] net/virtio: fix memory leak Date: Wed, 1 Nov 2017 23:49:05 +0800 Message-ID: <20171101154905.GV1545@yliu-home> References: <1509076449-20542-1-git-send-email-liupengzhen3@huawei.com> <20171101153351.GT1545@yliu-home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: thomas@monjalon.net, dev@dpdk.org, stable@dpdk.org To: Pengzhen Liu Return-path: Content-Disposition: inline In-Reply-To: <20171101153351.GT1545@yliu-home> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Wed, Nov 01, 2017 at 11:33:51PM +0800, Yuanhan Liu wrote: > On Fri, Oct 27, 2017 at 11:54:09AM +0800, Pengzhen Liu wrote: > > In function eth_virtio_dev_init(), dynamic memory stored > > in "eth_dev->data->mac_addrs" variable and it is not freed > > when function return, > > this is a possible memory leak. > > > > Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_addrs is not freed") > > Cc: stable@dpdk.org > > Signed-off-by: Pengzhen Liu > > Acked-by: Yuanhan Liu BTW, I have just seen you have send multiple versions out regarding this patch. Next time please tag your patches with version, something like: $ git format-patch -v 2 ... --yliu