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 63605A034F for ; Wed, 28 Jul 2021 08:51:11 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5103B40142; Wed, 28 Jul 2021 08:51:11 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id D46EB40142; Wed, 28 Jul 2021 08:51:08 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10058"; a="234472436" X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="234472436" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2021 23:51:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,275,1620716400"; d="scan'208";a="665776275" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga005.fm.intel.com with ESMTP; 27 Jul 2021 23:51:05 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) 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; Tue, 27 Jul 2021 23:51:05 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Tue, 27 Jul 2021 23:51:04 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.4 via Frontend Transport; Tue, 27 Jul 2021 23:51:04 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.173) 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; Tue, 27 Jul 2021 23:51:04 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NMZInlAyBfboLVhOBKB/L0/8bXB3mVymvkmH2JwBfVB9FmS2NTSieQIPuwWtuducYpmxb3bVwfjQ/208JAlEzXUYgy4bm5bG3Loq/Dyr/VGcx2CzuRTYNKpWaY4XEYzNNXp/BME+QghKEgtJdvipjgHmGl5MUpoweH4kMOYb35QHzkTwt9B1Snx+hjqzd3qVIUTkQl79itRglca2NodEPLSWaNRa+9QnLHACEB93qwlz2U93IBVpp1fvR9wh2b9s4m4E+a4Skeci2CkW6pW+5slY423faAWkmMisl5+uT/GonoVj6NEKptHGrToqNC3qrLNdDDOR6wnuvBvRg3Pvqg== 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=kJodkApMD0G4KKU1XomETU+kIdmCuqpV7TJdqKMnwvM=; b=KYcKda6iVslDwZpWuRwPO3S4eiMZ/eLDrmTHPlJUPMBp8K7ltMyCMXBe9AJr7PxId902xcXO96YpcB48VxlwVWpUhpX3xMD5yA0NRDSkZ/Y2IOBSrJ877FmzPWuyN0Uuumk3vH6pSolSIKza6Si58s9CtDNYfb5lqA3gLu4Vf5XtUO+NSmYD7nncUbwwuCjBcnZ88GofrK9dkbk+7r4KywJoELj3ucYNvWQ0jfhKE50CRqtjjcIs9p5vaDMGwiJs+759r5v60eGfZxWe3PVN9IQ/8JEisOCDNLcuepIHAVxAe+ogbVI4jvrzvI+Zg32eze8dAun3SO7+nJMgz9Q8cg== 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=kJodkApMD0G4KKU1XomETU+kIdmCuqpV7TJdqKMnwvM=; b=IDiQMoFp9UGExjGh15NWp3T7cFKYRdsJ29z8gjaJcftvZ6L6PnNGtwhG8Xwn2ptNruKOqL6ZGHQlh7QDVUOomjDkLoJ0sBZdtXmq1VXE565JWRpLnLgPoWjqWDcF+gSYQhJU/K/jCIafCXWDW52cbo6kpkavOHPswTlCsWvjf2M= Received: from MN2PR11MB4063.namprd11.prod.outlook.com (2603:10b6:208:13f::22) by MN2PR11MB3728.namprd11.prod.outlook.com (2603:10b6:208:f4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Wed, 28 Jul 2021 06:51:03 +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; Wed, 28 Jul 2021 06:51:03 +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: AQHXgfQKdQz2dED3eEKgCmfcydnbP6tX9eEQ Date: Wed, 28 Jul 2021 06:51:03 +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: 01c8d542-81f5-4316-39cb-08d951941154 x-ms-traffictypediagnostic: MN2PR11MB3728: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vgxj3/2+y0o7mqHe1cQAH9Daex7TKmyO0oBGQgR0bjuZ7UvJI2gyZtaXOS+r9ea+SGYotJX5xW4e5ZObBHXThYztEeUfqumq/8TcC9AwVOkCX2U7fRgXWApXUue/+d9/c2F45kIaIGxjY7k03e6E0CkNsaa1T8s1bCTgOtIlS9uIHSAYO7WsO1nn3zjGCv+oXjl5E1DKFYBffDlWDoHiEl5s7rB/psaew9Z63ZbZw2OsOm0wyg+cSNme9M4gZofz5Zoty29qFqfjOZxvsebdV0+1a1h8YaicVqCh5Mr/BbMydDe5XnHVGkBp8MNwQ+bCPDO754zBf0dTYOF/AgBlYEP9u4Omgk8O3AaofctdfdajR1lACj8UHOUg+jRF3KA+685lscaCvbGSWaZju0Dn4hesqEiI7y7xmW1snnRmr3ZzbVQfz3YtdBRVnmGQVUejChLNFEi7nZYiFlRXoXqGC7ee15pPsLZhLm3d7MZAM9y3HvKqNKETZ4HbQHbE7ne4a2THx92ty+DwnD4S9OI99N6o0/LYKPNW+LCv4cOz551VdxiQQ1gZ/eJDqDIDYwk5Pga9IHUJ/br3uaMcU0d2KeJLZI4mnvsEMp1uFd29ZYf676zTVkmC9AL2sHBIiLRg0Yz8Ngypv4MemfGFJQYtKeYqSVO6T3TV79Xm9icyRRBzo/7s21U2PBen1GfdufAH4pdsIekUkE3qo8gQr5sK2g== 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)(366004)(346002)(136003)(66476007)(66556008)(8676002)(64756008)(110136005)(55016002)(66446008)(8936002)(83380400001)(316002)(76116006)(66946007)(478600001)(5660300002)(6506007)(53546011)(86362001)(33656002)(186003)(38070700005)(52536014)(2906002)(122000001)(4326008)(26005)(38100700002)(6636002)(7696005)(71200400001)(9686003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?ZWxwcXFGUzByRURlRU0rWGNyejJjWGhJRGkrYlJOL0dpczBMVFdScng4Rkty?= =?utf-8?B?ODlnbXpQNGowTG5UOUpqc3NOVDdFY1ljWXYrVGY1YklxMS9ZNERZRlg1UjJO?= =?utf-8?B?eWd4bFVVMXdiZFpJL2NqdDRxQ0VEZWxhZWRhWHQ0TmZPMzRXTTQwUC9tUlJo?= =?utf-8?B?WitHeW8rTmwwb1BhMWp5K1dGb1pWZDMwVmp3UjVsL3N3YmViRFdmWlRNQmhu?= =?utf-8?B?M2gycDBWOGszTjk3NTBPbUVRTXM2V3BMelVVRVVWeVN2SkRoUUFaV2xsY2py?= =?utf-8?B?Z3RQM2UvczUveFhUUDVrb0ZKeGUzclBZUjJoR29IVitCMXBWS2ljUEtBZmtE?= =?utf-8?B?ckZDTGhnT1RBNDIyenZIUlgxYWlFVDM2c2JFUndPd0J2K0Q4d2g3dEZCVjdJ?= =?utf-8?B?cWc3QksvSUtESWJvSjhIbUZnVHgvaDVtUnF5bTNKWkRnSnlwb3EwbDJQWWZy?= =?utf-8?B?YkdWT3Z0b05oWXVxZXllVmZpeE9HeTQwem94UTY5cERRZmRpK3E3WFhHeXAy?= =?utf-8?B?QTR6SVRYbzFzT3ZlUmk5cGNSZCtnaWJlNGNlVkFzYXhPY1ltZjVhRTdOVFVE?= =?utf-8?B?b0NPRkNnaXpNakltbXJQOWZwdlJ3VmpHM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?B?V2VLZHNMTU14Tk9nUE1vZmtsSUZYYVFscGtBNkRKbEZMMGRyZVVoS0xhU1B3?= =?utf-8?B?aTZob3ZmNmt2OXNrRUVpdk5GOUU2QThKd3NMZUZXODV3WVhpQ3FiRlNpWDRy?= =?utf-8?B?aHBIejFiZ281VVBGMkpmVmVvbFJOSk1jRHBLR1VGeXhLQk8yWTRTTkxnMUlO?= =?utf-8?B?TEtZZWlwcXRWcnp2eUhSMVhNS2NUOUJ4K2xFQ0xPV0M5M05iS2ZPQkkrRG9q?= =?utf-8?Q?xc3tatQhzALnU4zGhI=3D?= 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: 01c8d542-81f5-4316-39cb-08d951941154 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jul 2021 06:51:03.5948 (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: YolnDrltMtClmQqszjMlF5TqmV3m30PoVQrMIjWTXuCwxYX3e3FJ2UxwMehrl6Jd/aZCUrBqr9FAZFG6ZqDYVA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3728 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 e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