From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1295CA0C47; Mon, 26 Jul 2021 13:38:32 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0501040F35; Mon, 26 Jul 2021 13:38:32 +0200 (CEST) Received: from m13127.mail.163.com (m13127.mail.163.com [220.181.13.127]) by mails.dpdk.org (Postfix) with ESMTP id 0CB5140DDA for ; Mon, 26 Jul 2021 13:38:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=O9aU5 Bbu6y5uOPFmV2OEvBtitDNg91iRXqILnjsdjJg=; b=N2LkUxS3g62YrqcMUlydF 9KGRrG2SsCWqG6GNKjC0rqgI3oXkTl2M35OrvWAKzSLm7AA4K4KwyjJcjSzSeWb4 UdNUw6qV3KTGuQSUdLq5mNNey4w8pFqZZA2E7kxdMF+a2/fU5U0+TjOG75us5wEX pUTEvIxKbbtkgoEFtHQPB0= Received: from clgx0086$163.com ( [39.182.54.79] ) by ajax-webmail-wmsvr127 (Coremail) ; Mon, 26 Jul 2021 19:38:25 +0800 (CST) X-Originating-IP: [39.182.54.79] Date: Mon, 26 Jul 2021 19:38:25 +0800 (CST) From: =?GBK?B?wfW438/o?= To: "Xia, Chenbo" Cc: "Maxime Coquelin" , "dev@dpdk.org" , "liugaoxiang@huawei.com" X-Priority: 3 X-Mailer: Coremail Webmail Server Version XT5.0.13 build 20210104(ab8c30b6) Copyright (c) 2002-2021 www.mailtech.cn 163com In-Reply-To: References: <20210725020315.15010-1-clgx0086@163.com> X-CM-CTRLDATA: 8vJBLGZvb3Rlcl9odG09MzI3Mjo1Ng== MIME-Version: 1.0 Message-ID: <5640f69a.6169.17ae29be4ee.Coremail.clgx0086@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: f8GowADX3y+ynv5gc5sfAQ--.40853W X-CM-SenderInfo: hfoj5iqqywqiywtou0bp/xtbB3QLbemBHJxXflwAAsj X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] net/virtio: fix memory leak in dev close X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Cgo+SGksIGNoZW4gYm8KPj5BbmQgSSB0aGluayB0aGUgZml4IGNvbW1pdCBpZCBpcyBub3QgY29y cmVjdC4gRml4IGNvbW1pdCBpZCBzaG91bGQgYmUgdGhlCj4+Zmlyc3QgY29tbWl0IHRoYXQgaW50 cm9kdWNlcyB0aGUgYnVnLiBJIHRoaW5rIGl0J3M6Cj4+M2Q0ZmI2ZmQyNTA1ICgibmV0L3ZpcnRp by11c2VyOiBzdXBwb3J0IFJ4IGludGVycnVwdCIpCj4gWWVzLCBpdCBzaG91bGQgYmUgdGhlIGNv bW1pdCBpZC4gQW5kIEkgd2lsbCBmaXggb3RoZXIgaXNzdWVzIHJpZ2h0IG5vdy4KPiBUaGFua3Mu CgoKCgpBdCAyMDIxLTA3LTI2IDE2OjQyOjU3LCAiWGlhLCBDaGVuYm8iIDxjaGVuYm8ueGlhQGlu dGVsLmNvbT4gd3JvdGU6Cj5IaSBHYW94aWFuZywKPgo+PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2Ut LS0tLQo+PiBGcm9tOiBHYW94aWFuZyBMaXUgPGNsZ3gwMDg2QDE2My5jb20+Cj4+IFNlbnQ6IFN1 bmRheSwgSnVseSAyNSwgMjAyMSAxMDowMyBBTQo+PiBUbzogTWF4aW1lIENvcXVlbGluIDxtYXhp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