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 A40C8A0C4D for ; Tue, 27 Jul 2021 03:58:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 94DA8410F8; Tue, 27 Jul 2021 03:58:19 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 35146410EC; Tue, 27 Jul 2021 03:58:16 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10057"; a="199577297" X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="199577297" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jul 2021 18:58:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,272,1620716400"; d="scan'208";a="516515510" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga002.fm.intel.com with ESMTP; 26 Jul 2021 18:58:14 -0700 Received: from orsmsx608.amr.corp.intel.com (10.22.229.21) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 26 Jul 2021 18:58:14 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx608.amr.corp.intel.com (10.22.229.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 26 Jul 2021 18:58:14 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.103) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 26 Jul 2021 18:58:14 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kX8sbBhaE5oHwbVl9TuNPCH/8XN6MvEwKac1uPWCUkNvEVjRXse2KRt+CkQMIk3Zl+MivDYVdpm50sZ0HHjxM6cPfPZo8oG7hvWc2IzU4hmG156Yz8+ob85iSAx/Vv2UIHPmfhHieKO54RYr8PXfDXK/k0IEwJ9J40iTBgq++20qSTyBlFaH4oMJJfGg81fpYwvFYPsd3d7NwfxcccC6zPa+nMBq8IHJd37IciLMO2ZRwri+KRhK/vDa31ZeruHvEOYX3XZg2UecokQSiOvWebvKiMylTaRl0jDQRCzs3EGDl3SAGYLJkZIjMCR+iEPK9qvFmpyGBz0wML4wU7HoFg== 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=kfS3b7Gs4O+tXG87XTl1RIyhTOTDhUR/QDnPWNu1uOs=; b=dGP6aPa+FsVAi0i79cUjVrkCNVZE6nXtoo+iI1l1bYNac4jpO+y94kShxXkyjG1BdYFhoEIY7cjkugNuG+nBkRBW/p7ikvP3/njVvJjtzaKWfjsNW+KgRVcp/sGWfHVwdBK0NfpC3dfKnE/4ZBc8jnvPmvMI4lBXauXbpQp1W12ApwpPLqY7zJSJq2TuayNqaxh9Ish+Eyfx//+OOQ02LewGGExDENpUaBx2Uu5QdjPP6vbQMy/LHGA/Brz5oTWx3gf+qQX3bWEhQrtWUqat0Nz4UGnPAaksAdtrPdSZSGuESa5fMk3rEOkel8uwdD7yJms5jr0qivDLOOkvjzMRRw== 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=kfS3b7Gs4O+tXG87XTl1RIyhTOTDhUR/QDnPWNu1uOs=; b=yvg+3gFG9TqdNjL53x8rKmNy4WMl+9CEx/CZMdttQXi0TRcbsLad36PS1LQHcxtXPLYP+cvQ9vu63Ide33ynRvWLAffro50IiYZJ2YRnx2YE5+E2bjPx1a5t4UJ79Jtx7lswDkiwmesNCgaEqqXLHe706DB508jdW0UFBUIUels= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB4000.namprd11.prod.outlook.com (2603:10b6:208:13a::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4352.29; Tue, 27 Jul 2021 01:58:08 +0000 Received: from MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32]) by MN2PR11MB4063.namprd11.prod.outlook.com ([fe80::d447:3a7a:aad7:4d32%7]) with mapi id 15.20.4352.031; Tue, 27 Jul 2021 01:58:08 +0000 From: "Xia, Chenbo" To: Maxime Coquelin , "dev@dpdk.org" , "Wang, Yinan" , "Ling, WeiX" CC: "stable@dpdk.org" Thread-Topic: [PATCH] vhost: fix crash on reconnect Thread-Index: AQHXgfQKdQz2dED3eEKgCmfcydnbP6tWEbQA Date: Tue, 27 Jul 2021 01:58:08 +0000 Message-ID: References: <20210726075814.287469-1-maxime.coquelin@redhat.com> In-Reply-To: <20210726075814.287469-1-maxime.coquelin@redhat.com> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c367f749-d40b-41fa-73b0-08d950a1fb0b x-ms-traffictypediagnostic: MN2PR11MB4000: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4502; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Hwkg3PgEt/8LRTu3nzHkbwvHBXVzDFRJGRnaqAyYWpQ5NfqXELj3UG0QntRtegzM/e+DS6NTpfts6VHoH0/S/uQbu2SX0CAnuq63zAEzbn6j1JaDmRiRlqjfHPGs0XSra+ido65mvyWtXZBO4wrFR9meqWcoOOYJqw1mscVJNmKvrhKcbOKEYP/GrMzNoI8vVokbRS5rxjw+PrLcEtPr+npz3HjOlFwAPcvf6JWtwkgVg0isNgdvROvVNKXblG7TJrIwBfLYpp/nF/ezOz16UgKZFV5SrlzOS87D7PfLEMcG3/L7xHitUn+Ns5wFlcZdU2jujR4BJzpjcRYR0lXKl0pgPF9nk7BrKJIQEmdHfyGfwJ/fb97vKPUTHjElzB3PN3VJ61S/XtNyEDd4bXo/fO92HQHfNd/dJXOz97YgyIIOnDATcatneozOqwq9ToDY5gEky2GAMdKuN2l6z31IyBDr647PSfbBXVgrpnJihSYD40Pp9yLxtYj9LUXLuIMq4bAZ2kFTKBIcZ1WNAPAhUncyuc84Y+9renivmVFxGhJUsGuGf2W7wp/1ZTFOEpI1yZwZ2Lk/nh9cAjLX6VEhwQcn6joMt2cv2oWlj2XJ796SAYzzH7CummVlSZEx29WB3+NJ3Mp1yiUrbll+4aQmb+uGQn+ioLBRBHAxXEcm6qZbQ6E8gaWsYBk6U+D4xiA0XwYWmyOfOZzvoAZK5zfScQ== 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)(66446008)(6636002)(55016002)(6506007)(5660300002)(508600001)(9686003)(8676002)(53546011)(8936002)(86362001)(4326008)(316002)(7696005)(83380400001)(64756008)(66556008)(71200400001)(122000001)(76116006)(66946007)(2906002)(26005)(66476007)(52536014)(110136005)(33656002)(186003)(38100700002)(38070700004); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?a2E4Y1RxNDZuaTdXbUVYNm96M09odVlQTXltcXFjcWZubUkvYjBqcG1BclhX?= =?utf-8?B?WW90K3V5YU5OWGNUMDZJOFRQdHZqTzZNb04wNGUyZkUxTVhsVVVwcFBPM29i?= =?utf-8?B?WTl0VkxlaVRqdUFmdHNVNzNDbkx4YnBWa2ZaOGIwd2M1aDAraDl1YTJHTjFo?= =?utf-8?B?YzQ3em00N1Bha2pxYnorNGlFY3IxNVJjYXdOM3htSHczY3FhWWJzZ1VRWU5n?= =?utf-8?B?aXlJS0pteXI0YWpScWZEZWFXdFRiSUxmMGpYYkZSMndSS2ZyNTVJMk9FTldW?= =?utf-8?B?dzB5RnVZOGkxV2s1TVp5SUgxdzhwMWJxcDVGejZCUlV5b0lQV2dndnlRZXBy?= =?utf-8?B?dFF2OVNvNjVJV2IzR2R0RnF3UlBzMUJPbTJvcFNIaEdLSlNsZGhyclZySkZm?= =?utf-8?B?YjlIQmZwR3FyRTJNbmYxSFN0UlhHSThCVWpDL1d0QU9ENm41WW5ZdUNlbUlp?= =?utf-8?B?bFBySWhzYVFONzgybVQrR2pvTU5ibUdTV1hyU3Fwa1hOSEhYTnJubVVYZ3Zl?= =?utf-8?B?SktNOXlQRnVxR1d5alFabUpwdHRFbFAyTy9lUUlxM0ZGbEpWWE5MVStGZUt4?= =?utf-8?B?UWNMYnJ6bnhENFZZTXVzdVhIbzl1NE96VlovZnZZeG9vOTRrclRUY3RsNjh5?= =?utf-8?B?U1RDVHNTYS9MK1FMaFl3UXpoZGl1QWRZRVFQU1hUekkwZUo1NklXT2pFbUNJ?= =?utf-8?B?OFRJVEJPUWx4Z3hKbG1oc3Q3UDUrU1pmYnJrNDJkeTFUaFV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ZYNTdnOHdFTVNJWU4vUnN4WGVjV0xZaDRzb0lyeXpSb00z?= =?utf-8?B?UldZSytZZXowYkFDSTA0MFdCS3dyK0VTVHVUOFYvQndRcjY0M2Y3V1VCNEJ4?= =?utf-8?Q?WnPzwUlWTFFbrPnx1HyjXRNvEg2Kyw7EQWdTvHr?= 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: c367f749-d40b-41fa-73b0-08d950a1fb0b X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jul 2021 01:58:08.0964 (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: nS93YAzc/wQWSR+9fkG0dLEKO8PN84PI1V7x+BEjBBi9TucYTEZK19q0WbZ5VmTWhEzmLQl5qfX4xX8aFmQAAg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB4000 X-OriginatorOrg: intel.com Subject: Re: [dpdk-stable] [PATCH] vhost: fix crash on reconnect X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBNYXhpbWUgQ29xdWVsaW4gPG1h eGltZS5jb3F1ZWxpbkByZWRoYXQuY29tPg0KPiBTZW50OiBNb25kYXksIEp1bHkgMjYsIDIwMjEg Mzo1OCBQTQ0KPiBUbzogZGV2QGRwZGsub3JnOyBYaWEsIENoZW5ibyA8Y2hlbmJvLnh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