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 21DC9A0C43; Thu, 26 Aug 2021 13:47:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4F7BE41211; Thu, 26 Aug 2021 13:47:15 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mails.dpdk.org (Postfix) with ESMTP id 2894240140; Thu, 26 Aug 2021 13:47:13 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10087"; a="303301810" X-IronPort-AV: E=Sophos;i="5.84,353,1620716400"; d="scan'208";a="303301810" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Aug 2021 04:47:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,353,1620716400"; d="scan'208";a="527846040" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by FMSMGA003.fm.intel.com with ESMTP; 26 Aug 2021 04:47:12 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Thu, 26 Aug 2021 04:47:11 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Thu, 26 Aug 2021 04:47:11 -0700 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.170) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Thu, 26 Aug 2021 04:47:11 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z7LCMgUsow6kVwd2fBkeiFLGXd4ki8m0IdSA46JGdVrTPnFCcowlnThPQKSp9EcO2jZOxan8RfLj6IuYwAxxnGFHJtdTe0YcYNVCzfAvx26rufaC0Yj1dULIb6OAWwxlsvaE3AyQL+dYrq3UQ0AS4Kf6tG/T6RFFMNoNTjvgdBeLZucpWYlSv86o6cJKH+sMOzfKg0nst1iKnCcJUBAhcTJZ0V/fDVp9om8Nw7MCNsthzEXBsxFCtn/6lcNx5zTMgD0mrs2WiNuk6pV42GraUSv6v9O6lA2f+e+0Ixcyh9YvClZyhcRTVBXyVTAeuTW4gpPSq7KhLCAtCFHwmAOBPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xCsvxy6wJ06WnyRf/wR7H6PRYwsU7hUjtfZb7nnWdzM=; b=eLIv7TSnRsrs92eWhW3QA6Qo4Scm+gMhzcKWG1MUjbjhPcWg2ffYP95hqkSvNbd5mFmC3PH3MML8bB+XARMJtts2w+UdZCE2eNotY+6pKG7gtGJhpoFlOpAs0agmIIv1gWZQjP9FX54vr5yWd+8pKwOEJyKl1v+8MxUGKBZ3R+fp524yfTKp1ZCH1wFoKJBFK2lhOAnBX/BCqvhOn3sV6jBCDjaE/kIn/9gD3nnpT2yF5+vAP+i/GiOPO/eDdZBqtdpYsUrQcFBUxoI9SRrZSJOiFyElzVivACxU1GdLn/j7noJIDLPQGWLVGb7WzRHeyXLRpDlcpkosLYylGc9oBQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=xCsvxy6wJ06WnyRf/wR7H6PRYwsU7hUjtfZb7nnWdzM=; b=WneyzttW/5kPVqJiwIglV23zPd0XwEpoE1wNm/HbFgHr4wDMA8GmLeCpO1w9ZwkzpN4H9ksOYtv8w27rPPpaABLkCO5c964eM3GloefN0tZqgZWnEkRWeDoZrPsmg4ZxR9FFrGd2I0chWTNzIQJIUNayF6Hswh1m166qItzy9+0= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by BL1PR11MB5285.namprd11.prod.outlook.com (2603:10b6:208:309::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.19; Thu, 26 Aug 2021 11:47:08 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::6873:dced:7f68:801%3]) with mapi id 15.20.4436.024; Thu, 26 Aug 2021 11:47:08 +0000 From: "Xia, Chenbo" To: "Ma, WenwuX" , "dev@dpdk.org" CC: "maxime.coquelin@redhat.com" , "Jiang, Cheng1" , "Hu, Jiayu" , "stable@dpdk.org" Thread-Topic: [PATCH] examples/vhost: fix memory leak on forwarding packets. Thread-Index: AQHXkyek4pQXhePrREG9OdirHnLK+KuFuRnw Date: Thu, 26 Aug 2021 11:47:07 +0000 Message-ID: References: <20210817171320.647414-1-wenwux.ma@intel.com> In-Reply-To: <20210817171320.647414-1-wenwux.ma@intel.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d3b0d414-9dea-452a-ba7d-08d968873bf0 x-ms-traffictypediagnostic: BL1PR11MB5285: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4714; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TH4MQ6KesGC0GRuWODzeYkULiCvocqNP45FXf9rrytnFWN/6HsEB9aDhxNSmYXZiYBMDO7QTxwrTCWJ+gjagCidz0PRScxtkWsSUiuiebupVEnEUr0mJ+Wd1gxntVMdlahb4x29V0y3S+0LlVgU/4Gq3LD9eCQnlWlkL8qOqA9VilM+5kwxV1+Q7tdfa44XFdaREhiKHn3L8lCtRWMXhnRTqklsqI4lyfah8rvmSggZfabwOeF4EXBoJ99SBiNCtnd6Xagb9a2MPHuYpZEye3CTtx9BrZB1hSFRXPSRqeq2pSo+77nX3LY6PQ/MXOzdq1bKd1GD0Pn6EygsFykH56uUSKhQ7ApZWiSjTO/MN28aE6i9ovPqeCRhkYilqhE2w00XqgI8QuebSClf50B+3XszexxiOvBLZvpL49AXX8O2TvbtgMucx3823tR1BLozd+NzDDPuhCu36Qa/GKozkd2zmEyS/ZsH+/7KK7Cc/pTBokz33wVwMva/GxxjfvRAkV5TmxX64bV9To7++EliNJO5kIeWwP30n0TZaR2BjCEfWzcnRRTHacCg/fhj5inAl68yn4r2hsDJ5gUj37fhrcOPSnrhvCHVUWeJb/NvQriHofJZWEAfmqs2k2m/inHt/y8IOvYmq+U0GYRokQ3ZH9lAoKQN3iW8e85TpLePq+6EyeC3z9JO12u5LnHyCEGiUuATW6cZAsYmSquK255rHzw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB4063.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(55016002)(38100700002)(83380400001)(9686003)(86362001)(38070700005)(4744005)(54906003)(110136005)(71200400001)(7696005)(316002)(8936002)(8676002)(2906002)(76116006)(508600001)(52536014)(26005)(4326008)(53546011)(6506007)(5660300002)(33656002)(66946007)(66446008)(64756008)(66476007)(66556008)(186003)(122000001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?b2wxOXZaYzdnTUQ0TktPUU9wc0xSMFZoelc1WnBVdWUxblJTRkxrVWNiaDB6?= =?utf-8?B?ZGxaK0RkdnlWWXU3OVNCQlVZeXNUQmJacnNsTHlmZVJwWXV0S0ZTSkRyaXE5?= =?utf-8?B?aHd0U0hyVDV4aVhnSk5mMFd3ZFhUejlVbm11ckZ0V09BKytOcm96VU5Zajlj?= =?utf-8?B?REpJT0c3bjdDRC9JdG02UFRiejJENzBRSFhrd1U3b003MnFoZmhvcXZlUnQ0?= =?utf-8?B?c1hjTVowVEpaKzdnM29leXBIcmZCZmh3L3R4Y2NlWlF6ZEZmaW9NRE5HMU9C?= =?utf-8?B?cVIxc2p3YjVOMmxjTGJ2b0JkMnExNXpWRnUvd2ZoUytHeEJRWEZGTExVUklv?= =?utf-8?B?N3lHaER1MnhwTVB5K0lJYlM0WURTdnlrK3pxOEhnRllpMUVnTCsrMm1la0tJ?= =?utf-8?B?NW5MWUcrTWo1WmNvS1ZEdzlBaHdKTnI0Q0lSSlV1bVNJWDVvZ2xCN3B0NFF6?= =?utf-8?B?bjYvOVZVemhCWDhZcGtnT3g2Rzl3NVlxWmtULy9LS0l5NE9QUER6RDFZSkYr?= =?utf-8?B?RWVzcU9LNERnRHpCc2ZtTlJTSlRWQUFIUHpEK0lTUzRiMjVrbXBXV0V6aGdp?= =?utf-8?B?elBUdFQyWEo2cTZibUZ5RU9keEdCd0wvTE4wOE01RHljSk1VR2ZyVDIrTEdD?= =?utf-8?B?WXNselhwWkxIL1dMdTUyUDJWcGtWWmJiRkxYa0psOTMralpoNW9DaHhEbUwv?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CdHM3RVhvdkdnNHU1NU51b0ZWNUJZ?= =?utf-8?B?YzVHSnA2S1ZiNjlzME9nSEtsdjNVRy8rdFdYUTIwV1RhQU9IR0hIT2EwNHlB?= =?utf-8?B?S3RHZlZlL1hUVldGNmY4SkpmNnRYRGhvbUV6MDlLZVRsQnJsQlhML0VmcDdh?= =?utf-8?Q?0JqAnSDJX/iSzgThMv49jGjcW2owtC4mLbOjX5/?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB4063.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d3b0d414-9dea-452a-ba7d-08d968873bf0 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Aug 2021 11:47:08.0214 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 6R5QoH62z9Ni1sMSaTYS8yqlf8GlQLAhYTJWJfQ6OZuBS3/VxQqiq9ivzi3ibrc2UJ6Xiqp8E5OX+15CxXY3hw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5285 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] examples/vhost: fix memory leak on forwarding packets. 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYSwgV2Vud3VYIDx3ZW53dXgu bWFAaW50ZWwuY29tPg0KPiBTZW50OiBXZWRuZXNkYXksIEF1Z3VzdCAxOCwgMjAyMSAxOjEzIE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