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 7ECF1A0C41; Tue, 7 Sep 2021 07:08:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F3D9410EB; Tue, 7 Sep 2021 07:08:08 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 5DD7B40DF8; Tue, 7 Sep 2021 07:08:06 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="199629097" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="199629097" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Sep 2021 22:08:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="464378820" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga007.fm.intel.com with ESMTP; 06 Sep 2021 22:08:04 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) 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.12; Mon, 6 Sep 2021 22:08:04 -0700 Received: from orsmsx606.amr.corp.intel.com (10.22.229.19) by ORSMSX612.amr.corp.intel.com (10.22.229.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 6 Sep 2021 22:08:03 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 6 Sep 2021 22:08:03 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.104) 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; Mon, 6 Sep 2021 22:08:02 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jldWrD/j/r8DQSN1feQNbQqHlnmL3k1Hg5HjbOAYfy+uc0j0tfdOHFFRJHA8qySzbs5gmPq0zlurav5MXyzRLxoEtfai0gziuyG2E9IK9mD4nK3UQoH0SsEx1e0Ppos2KAzEQrjNRx8zbNij8gfqHo3qJt3Q0i35zJy78zeZruI7ILcQDyBVyqThsbWgEuTxV5viNG4GYmtZlIz6wZ5rKncNtIIF3OnMOtGAx3BiJalWLN5CDvrXbI8UGGZWBCTq/KPUIWhvytHl46CVttffx+QkrFYxYKCo5LlAkguWJayrFthkqN1w0oDqhdqTyB10iJjJEfnUu/korwqjazV4Yg== 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; bh=N3MXIYHNvFsN4EbdMvMlmAxk+4J4OTdWS5eRffQw7v8=; b=HoMrc7Y1g3Te5OMGDwRajoABdJfH+kimxdLJkss1iCgzc9m6FunXyZZHOFLg5L3Y11EtFLXE+J1myRlsZz0ZTyjms3oRIYcKHjKABzVRJCi0d4Hrkz9SmAkrggMQuHbSa22UVqyhEDdVD3EbnuqJAiIGBsHCG8AraGdbofCm7isWFOIi61mn4g3livwpKaj0WLkT3GLUKXrEHYZC2WzzbkqnC4lDkZTBh84jgHh5hKuCFKS5zt95X/iMncy1/rZzy7P7xuQi6N+k/lydxvKqbFqk0ukald10JfR+0Jbgd2dHiTKdeUO6ngmUCKf05rJwJH3niCqamW+741vm50mBUg== 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=N3MXIYHNvFsN4EbdMvMlmAxk+4J4OTdWS5eRffQw7v8=; b=cy09zSMFT/OuEd4L6QnMhjnO2aF68Qs+xW2J85k4G90dvQO8oCCvaboU8De0oNp0HcVFrmIexydfcG2yZydZhjS7I8fXOp6O1Itm33h/4OBiW5R9VdWOW5jguXG0m+dKxm/CTZOAixWLpI49MMQfvY3Lz5h5JdUz2twIG9H0HcA= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by BL1PR11MB5464.namprd11.prod.outlook.com (2603:10b6:208:319::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.21; Tue, 7 Sep 2021 05:08:00 +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.4478.025; Tue, 7 Sep 2021 05:08:00 +0000 From: "Xia, Chenbo" To: Gaoxiang Liu , "maxime.coquelin@redhat.com" CC: "dev@dpdk.org" , "liugaoxiang@huawei.com" , "stable@dpdk.org" Thread-Topic: [PATCH v4] net/virtio: fix repeated memory free of vq Thread-Index: AQHXnnZE00bMACUU2UKTvKea0NeDG6uYD3NQ Date: Tue, 7 Sep 2021 05:08:00 +0000 Message-ID: References: <20210829085047.95-1-gaoxiangliu0@163.com> <20210831143951.93-1-gaoxiangliu0@163.com> In-Reply-To: <20210831143951.93-1-gaoxiangliu0@163.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: 163.com; dkim=none (message not signed) header.d=none;163.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 33bc4c2c-52c9-4fea-f38c-08d971bd76f0 x-ms-traffictypediagnostic: BL1PR11MB5464: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: xejtX4QxaKE8o7Peq+h0I1TADciCwZ9Y5MR+bghLfTm+1+nE7RwfPOKTbDIs/ulGlZGtLtZykxU0tfeWpcMxxYsRBF0VkOarOunNxUal94ULRzFXOu95/tASqxPthaQt9Qvier3poDgmmueocVNalXLQ1uSxnLcH4rMOGIKHXd41HPE+f0LoeFgzam6jdLcaoNH41HYIP7MUl2Cw7waiI4AUbd8YaMdk1mh0/CpMVBQDk88PmnbmhUkhEVUtkR21TkCb3veQNp2NscIrOfahiQ0a91OUdMZAY7tNiulftI4Nd17MhsXRYL7vUw2Y5NcHmabBsz6tdXUtwPah6sTLH1g+dzBQMjpZ66kesCQj7gKd4xUeKu8p3v+y7/jrI3Pvqk+5/PVlkimKhtLVkTFSKkv2K3KCh4/Gs2D/YIk14Go9wge8OfpgJNFkAhFeEXgZbNTQMLOAREJ3xpHncuNU0Y5NfsQwvMd2sGlEOY7DBrpANpsY6r8gGybQ3227fDD/CTv1t7Ysh17Crg7e8hdazwl7hGKIi8d2YqezrvVB1ortA1p2u+KExThHhpM44E+HyXKCtw0fH98UJmTxHFMMZ/VOGLx3S9u5e7x7ZVyyhFPjmwCWic+B27s2tArpIYT4a6murw3Xt9nrzTJfB2WalGavXWGvprUEieRGSfU+2cz+A96Fi2msF2c+JFOQvIOuYoyiNXQs3cMvum0aj7c+Xw== 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)(39860400002)(396003)(376002)(136003)(346002)(366004)(38100700002)(86362001)(186003)(53546011)(4326008)(64756008)(76116006)(8676002)(83380400001)(55016002)(6506007)(26005)(66946007)(122000001)(33656002)(54906003)(8936002)(9686003)(38070700005)(66446008)(52536014)(7696005)(66476007)(66556008)(478600001)(316002)(71200400001)(2906002)(5660300002)(110136005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UlZQc2FOMjFIUTJOS0IybFZiMW05SE9IaDFlTzRMZ0FuNWRNK2MyaU5DWk5y?= =?utf-8?B?VWsraUxyTHk0YisvTFp2RGNhaloxWEFibEY5L2JJbUFZMG5mODAwOEJzd0hE?= =?utf-8?B?alIxY1lubG1JQUxqL3dsOVNJWllLeDEyMXQxQ0d5RGNUdTdTWkR5U3BBWG1h?= =?utf-8?B?SE9rOHd2NmZnOENDVW5pcThWNm80VVBlY1lySzhDYzN5cllBTERrZ0lQbjFw?= =?utf-8?B?NHo5RGlXd3BNWHg3WVNRR2psbHg0Y1pXTWFiREVzUVp6am5qaVhOd3dTYWps?= =?utf-8?B?Q0x1NllPWkYvOXVHMnhIdmRwQ0JnaU9TN2dRRHJlUWo3clFVS0REMGRXU3RS?= =?utf-8?B?c1Y0cVdnSXhybytvSndJay9MZlZrOXExUDFJM0NFOGpKTDNTc3BqR25wL2F2?= =?utf-8?B?Yjh2N25sWG5JN3V2anNzVjA0UzlReGhja1ZnMDZQSUttbC9jMkJKdUMxNTdn?= =?utf-8?B?dEZyaUs1TWM3Y0xBcjlSSXd3RFNwa0xSdGtTdmw0anRWU0l5LytaSFdLSGpG?= =?utf-8?B?ZkpuK0dDMUorL3NHd3J6YlZpcDlVMTVNWGo3TnNpNnFTT2JQR1ZPTlY5cXQy?= =?utf-8?B?clVyU1ozVHRpUkhWclEyTEQrWm5JNFVOMWY2VXIrS1R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29pN1RCdWU3TlBGK24yV2hKcEYrU1hWbElyQjNJ?= =?utf-8?B?enphazhncEtMRmhCM0kvTVZXNGg2R2RLUVZIQ3pncHpxMUtVWlNUc3hHSU5C?= =?utf-8?B?UTd5ZEEwU0oxd1p3L1pSd3NBWDJub2ZCZGR2NDBZbUNFcFZMQmVYS1NpOFY3?= =?utf-8?B?QzNld214RDMvd1lQeVl1UXd0Ti94OUxwbWxkNExtU1pSMlRjbWdEaWY2ajlx?= =?utf-8?Q?dA8FG6aUwwjUE/ita4=3D?= x-ms-exchange-transport-forked: True 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: 33bc4c2c-52c9-4fea-f38c-08d971bd76f0 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2021 05:08:00.7376 (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: 0pzKYYtDA+SRAym6YXII1FPzbgSvr5ZDBZeSMTTb3G1SWYoY59dXi3euOlbnvd+25Zp8hAYUkoVTkIuH4lIzAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5464 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v4] net/virtio: fix repeated memory free of vq 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBHYW94aWFuZyBMaXUgPGdhb3hp YW5n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