From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D013DA04C2; Thu, 14 Nov 2019 11:16:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1CA652BF3; Thu, 14 Nov 2019 11:16:29 +0100 (CET) Received: from smtp3.jd.com (smtp3.jd.com [59.151.64.88]) by dpdk.org (Postfix) with ESMTP id 49632235; Thu, 14 Nov 2019 11:16:26 +0100 (CET) Received: from BJMAILD1MBX96.360buyAD.local (172.31.0.96) by BJMAILD1MBX50.360buyAD.local (172.31.0.50) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1466.3; Thu, 14 Nov 2019 18:16:21 +0800 Received: from BJMAILD1MBX96.360buyAD.local (172.31.0.96) by BJMAILD1MBX96.360buyAD.local (172.31.0.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Thu, 14 Nov 2019 18:16:21 +0800 Received: from BJMAILD1MBX96.360buyAD.local ([fe80::682e:8606:86ff:384c]) by BJMAILD1MBX96.360buyAD.local ([fe80::682e:8606:86ff:384c%25]) with mapi id 15.01.1415.002; Thu, 14 Nov 2019 18:16:21 +0800 From: =?utf-8?B?546L5b+X5YWL?= To: Maxime Coquelin , Zhike Wang , "dev@dpdk.org" , "stable@dpdk.org" , "security@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] vhost: fix vring message handling broken in some case Thread-Index: AQHVmoCrqaMsAlZyVUydHgERwbDaVqeJ1pQAgACdKuA= Date: Thu, 14 Nov 2019 10:16:21 +0000 Message-ID: <98c33d29d2954f268fd7dd6ed03e6b3f@jd.com> References: <1573643008-8216-1-git-send-email-wangzk320@163.com> <36d4ff71-bce4-6b69-7110-c4f6b9bfa51d@redhat.com> In-Reply-To: <36d4ff71-bce4-6b69-7110-c4f6b9bfa51d@redhat.com> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.31.14.18] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2] vhost: fix vring message handling broken in some case X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" VGhhbmtzIE1heGltZS4gDQpHbyBhaGVhZCwgeW91ciBwcm9wb3NhbCBzb3VuZHMgZ29vZC4NCg0K QnIsDQpaaGlrZSBXYW5nIA0KSkRDbG91ZCwgUHJvZHVjdCBEZXZlbG9wbWVudCwgSWFhU8KgwqAg DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCk1vYmlsZe+8jys4NiAx MzQ2NjcxOTU2Ng0KRS0gbWFpbO+8j3dhbmd6aGlrZUBqZC5jb20NCkFkZHJlc3PvvI81RiBCdWls ZGluZyBBLE5vcnRoLVN0YXIgQ2VudHVyeSBDZW50ZXIsOCBCZWljaGVuIFdlc3QgU3RyZWV0LENo YW95YW5nIERpc3RyaWN0IEJlaWppbmcNCkh0dHBzOi8vSkRDbG91ZC5jb20NCi0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KDQoNCg0KLS0tLS1PcmlnaW5hbCBNZXNzYWdl LS0tLS0NCkZyb206IE1heGltZSBDb3F1ZW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