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 67C90A0032; Fri, 1 Oct 2021 18:28:44 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E073F4067E; Fri, 1 Oct 2021 18:28:43 +0200 (CEST) Received: from na01-obe.outbound.protection.outlook.com (mail-oln040093003003.outbound.protection.outlook.com [40.93.3.3]) by mails.dpdk.org (Postfix) with ESMTP id 713D44067A; Fri, 1 Oct 2021 18:28:42 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Tawr02hghxQETyHcLjw9eatNUIKsdb9CbznDFA3noPUI6WVOPfqOw/fkIgxlYzUIiI5lBcQm+uJdIKcOmkbQs+YzeoauRWR2oZj/Dic03Wel6hLivWyJW/Dc0WrMLNEi+W+55cPeF3ngJHere6NGSpNbdTWnPafyIi/ug7fh/j39jihBnaa1qfxAQBKDIMH/0+euEmDK33XYRD6coX5WqcMzNmvi4e4DH7TbsM0o/O87JgQVX2SYE5pth18bB2K2ovxR9DrvJBcsuN5udX8NGpGAYcYW1JuuMnDCkQAJ584UcTqNdC4Xa+a1A6nfpXKAUhwConh3dzzOTl0rtLDYKw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=CIX1pkEsU2yoiKbGr0KAVnjt4FCa/pWXafahKUfyIfw=; b=DF+7yoKvtt45MyBjhbqwcJWJQGc3+lO3exgbdNJz6IFTR3C+V9382yoRCOyCGM2Kizk4dJ9hCw9AY10rHO1ZL/WulKAYqiMgvHMWQUUavVXWueV5IpT1v5rMQHv3w8ZDw2cmdfzNHefLlkYn9z1nPdiGJcyjPQ47Vbj4R/60DlSgAXk79rjQiDjIfSNNCqALaoMgG3v+3iE1vaibIHFl7Pl706zCKxGE0u2ketHguWczTnzc81VaRadLfcrFQpO2rXZmATicgUXiY6RS59QSfJ0J1R8XniALhkP5/oREIxsSWhwDGeoWRTgIOfzLWCugbqv3e3cMXgu5z1iMT6fgNA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=CIX1pkEsU2yoiKbGr0KAVnjt4FCa/pWXafahKUfyIfw=; b=MTeoVafgplZKzUzQlX+TfP3GUrPAMJvTmA1Im72V/QLp7UlPVqPfg2JxxCUHVupo8J/OaZKz08ZkCMQmvpHqVKkOT1mW3VI3zPc12nnGmb6xh4OjFUqeqJjIwvI52cBcLWLAP54yUnic9l8rfgx8t5v6jqva0L2+yX+j8IfsSO0= Received: from BY5PR21MB1506.namprd21.prod.outlook.com (2603:10b6:a03:23d::12) by SJ0PR21MB2037.namprd21.prod.outlook.com (2603:10b6:a03:38c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4587.5; Fri, 1 Oct 2021 16:28:40 +0000 Received: from BY5PR21MB1506.namprd21.prod.outlook.com ([fe80::c5e9:9018:e64f:c330]) by BY5PR21MB1506.namprd21.prod.outlook.com ([fe80::c5e9:9018:e64f:c330%7]) with mapi id 15.20.4587.012; Fri, 1 Oct 2021 16:28:40 +0000 From: Long Li To: David Marchand CC: "dev@dpdk.org" , "aconole@redhat.com" , "zhihongx.peng@intel.com" , "stable@dpdk.org" , Stephen Hemminger Thread-Topic: [PATCH 1/3] bus/vmbus: fix leak on device scan Thread-Index: AQHXq51PBlGQnBF6Lk6M+h/VMwY89qu7kUKQgAC3UgCAAL4eIIAAwoUAgACe21A= Date: Fri, 1 Oct 2021 16:28:40 +0000 Message-ID: References: <20210917082313.21934-1-david.marchand@redhat.com> <20210917082313.21934-2-david.marchand@redhat.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=75085be9-7ee8-4f6f-b673-05bfc6e7e10a; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-10-01T16:16:11Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a0e0a8b4-0689-48e7-1ada-08d984f88705 x-ms-traffictypediagnostic: SJ0PR21MB2037: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OB7QdRBc4kjlD56wx0rfB6sn0Og7J8sOEpBPdhuZGMDwxkjEYBiR24XDXmBE0SNUrJYrNRKKFCLGqnVNBx/RDHf9c/MiWliqbw1GjMzT6DVyVvsR0lEdTCujDZWJMvCWA2RCkylaR51kIzAI6c4eGYyuge6O4+hTTLnqDtMh3k9M8TVvOdOI0D4VozYp/BpUTvefRb5tpK9XfcXIAOdL8zfu/3iO/NZMWanXJ57bgKWEnGlNYvUxw69IqwhoYT0JTKlP9R5XH+mNn2w6es27I5dRl93yDNNy638YNgi1JW4cU1AKhRKNCmB1ZRpPJNURbi+K5OMmnH/U4xunq8tZnEq1C+7J+6E5QqrpcuSQJ9g5+eZZztfDv8ZQQbE/DXurPsXCrFU0nxQ4rhm1OeXgxrt13O2eqesiK73J5pUA5lWaljXBGZpahq/OruNqm3ZJSOotPAX0wZuQdeaI/fwjYPoKW9XmDe2Y3/O636fBNsugoMnxqQ5fK9wPOEvlviCCH6UoTIjHt3aFV5BUOihusLi5woqZ3dsDNNkgCe75OR7xWJq6dJodAZyWygrgoEzDQZxms4hop70yQDVQDpYB59aMca3nLPitwlZ3VAkR09Wor2c2GsgznhyuKXHPhjzAYeqheSIoGG/Bfusd4QrBM16BZABaHZm2Lt0+s/0On39qn6Fut9N+DHeQcJXaiXU/g9dTI6Rcqyt3EyDEDCmcGQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR21MB1506.namprd21.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(26005)(316002)(122000001)(64756008)(8676002)(66556008)(66946007)(52536014)(6916009)(66476007)(33656002)(38070700005)(71200400001)(4326008)(38100700002)(8990500004)(66446008)(7696005)(2906002)(54906003)(508600001)(55016002)(8936002)(6506007)(76116006)(5660300002)(9686003)(53546011)(82960400001)(82950400001)(86362001)(186003)(10290500003)(107886003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?a0FIVXA2M0JYaWE5VW91VzloeUplcGxZY1U0ZEd3ZCtNN0xsZWk4ZWVYSWU5?= =?utf-8?B?alI3VGlVOFpGcnZuMy9LRlNOSzd3RVk2VDh4WjYzTVpwR3I2b0tIUTVTT2Fo?= =?utf-8?B?bnAvMURoemt5QktNQUNQN0o4VDRxeVY3b3ZRZFZsU0JH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dCU1ppS1krQVhUL2lwdW5xMndJVUEzaFEzclRp?= =?utf-8?B?ZlpEeFo1Qys5UU51RUczemh5eXRLVEQvM3UwR1NsSmdXN1NlSnVtd0hBb3dl?= =?utf-8?B?NGNtMTNwRzdpSXY5YllRVmJmRENDTzdsblF3K3pObTY1V2R0aGpTd1hReTJm?= =?utf-8?B?aFRSd1I4U3dkV25PaTNuMlNHZWRlU3lMaUZIMEpBbUwyNkoxSXlpMkF0WVR0?= =?utf-8?B?R1hIVnRwQzlIN1FGNVlEWnUvb1d6ejFOUzhrWC9SYXk0S1VEVVdJL0dOcldN?= =?utf-8?B?Qm92dnV3VVNmNzVYZlN1M0lKSVYyWU9LdTZYMG1pMUJ0T1FrRVR4c2lXZ29l?= =?utf-8?B?SXFHbGNWNGdBYVhmOGgwbnJFZ1oyQ2dvbkVGTFczeWJyUVlubnEwZHgrYWhk?= =?utf-8?B?V3FUMU9xUGp3WDIxeEdrSjhWZFl6THM2R2FuODUxRTRlYjd2dEsra2tZMmlj?= =?utf-8?B?UjlqV1YxWUNkYjBIYlVpVTkzRGtGK2U3YVZ0OURZTGdScjc0VWMxdGZjeUQ0?= =?utf-8?B?QXZtM0tTQWRJaFZxdVJmblB5MGlTeVpiMDVlOVVEQ1M4aXprTmVwZ1p2K0Vs?= =?utf-8?B?dFBwRkMvVDVXQ1BMblpnWGtsd3hXZ0FpZzhGSWx4UmZrcXp2YmVHNTNVTlZD?= =?utf-8?B?UU5zbHJrZmRnUTJJY0dsbmh6RTFUUGJoUWhFYlVZdEgvNVNxQ24xT0dlc2Rx?= =?utf-8?Q?jIpoHwE5DbgOS503Dc=3D?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BY5PR21MB1506.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a0e0a8b4-0689-48e7-1ada-08d984f88705 X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2021 16:28:40.0814 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lAoTei2Kepfbv8QkRVw7k7kTzlAT49V5Gpj7ejvE/aDjkEdyULxxjCeEKlF9jb2syhEnoDMM7x0OaJwa00yR3g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR21MB2037 Subject: Re: [dpdk-dev] [PATCH 1/3] bus/vmbus: fix leak on device scan 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" PiBTdWJqZWN0OiBSZTogW1BBVENIIDEvM10gYnVzL3ZtYnVzOiBmaXggbGVhayBvbiBkZXZpY2Ug c2Nhbg0KPiANCj4gT24gVGh1LCBTZXAgMzAsIDIwMjEgYXQgOToxNCBQTSBMb25nIExpIDxsb25n bGlAbWljcm9zb2Z0LmNvbT4gd3JvdGU6DQo+ID4gPiBydGVfZGV2aWNlIG5hbWUgb25seSBwb2lu dHMgYXQgc29tZSBsb2NhdGlvbiB3aGVyZSB0aGUgbmFtZSBpcyBzdG9yZWQuDQo+ID4gPiBJbiBn ZW5lcmFsIHRoaXMgc3RvcmFnZSBpcyBpbiB0aGUgYnVzIG9iamVjdCBvciAoaW4gc29tZSBidXNl cykgdGhlDQo+ID4gPiBkZXZhcmcgdGhhdCByZXN1bHRlZCBpbiB0aGUgcnRlX2RldmljZSBvYmpl Y3QgY3JlYXRpb24uDQo+ID4gPg0KPiA+ID4gSWYgd2Ugd29uJ3Qgc3RvcmUgdGhlIG5hbWUgaW4g dGhlIGJ1cyBvYmplY3QsIHRoZW4gd2UgbG9zZSB0a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