From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 6AE811B2C3; Sun, 12 Nov 2017 19:54:06 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D223920AF0; Sun, 12 Nov 2017 13:54:05 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Sun, 12 Nov 2017 13:54:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=39BoTWhxcqwF4VXvzg24K13iol aOM1BxN3LQ25dXELE=; b=ArlktlrhJcP7Jwzp3OP0kVPZCXOeFyuDkqgJnYY6+z p8YU3eY7vR0iHcLlS1YYGgBd1UDS29++hTeaZieXFEhTOO3HEtU84lrGMMzU2DtE Ul5d2OsC7BXpWS+xoVnxkGpvz9GE0rWJGOxo7k1WVDSXBrJmyzE/F8MCxIB9HzEI Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=39BoTW hxcqwF4VXvzg24K13iolaOM1BxN3LQ25dXELE=; b=sJEIHtGlCmdqYXUe37Dllv lUiid3tWFRHxW79xo+dAFEaEeYVX9yTie/gw22tiaUrQ5iGHrZ2DX0tkf6tyuwSv d1FmAdgRBd6SpvE94ByPpQAGqykP83K8C8bCdhugQ1JdgYaBbOc56YlyQJH8pK44 02n7QcrH6RMtYGyvPlyGUb4PhBZyJtGD0U58/M7ObyjziI+VnVchLYlD3li6/XbZ gI5NF+QahXmpYJ2yECIe57wb7fpq3DWZ+amFpmJOj0Zr7Me6l0/IfqmlBpz9U1t0 cXn3pPtdL9dOgyTSNvitq43x3sFL5PlRli68qgoEdjYD2v5AhK5uDDFPr4NTvLbw == X-ME-Sender: Received: from xps.localnet (unknown [37.168.115.164]) by mail.messagingengine.com (Postfix) with ESMTPA id F395D7F8F7; Sun, 12 Nov 2017 13:54:04 -0500 (EST) From: Thomas Monjalon To: Pengzhen Liu Cc: dev@dpdk.org, Yuanhan Liu , stable@dpdk.org Date: Sun, 12 Nov 2017 19:53:59 +0100 Message-ID: <7059242.4uSCgu1hzT@xps> In-Reply-To: <20171101153351.GT1545@yliu-home> References: <1509076449-20542-1-git-send-email-liupengzhen3@huawei.com> <20171101153351.GT1545@yliu-home> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/virtio: fix memory leak X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Nov 2017 18:54:06 -0000 01/11/2017 16:33, Yuanhan Liu: > 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 Applied, thanks