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 54435A04F0; Mon, 13 Jan 2020 08:26:41 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0D5861D607; Mon, 13 Jan 2020 08:26:35 +0100 (CET) Received: from huawei.com (szxga08-in.huawei.com [45.249.212.255]) by dpdk.org (Postfix) with ESMTP id A849C1D5EF; Mon, 13 Jan 2020 08:26:32 +0100 (CET) Received: from DGGEMM403-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id EF6BD55531D1968F06D1; Mon, 13 Jan 2020 15:26:29 +0800 (CST) Received: from DGGEMM513-MBX.china.huawei.com ([169.254.1.12]) by DGGEMM403-HUB.china.huawei.com ([10.3.20.211]) with mapi id 14.03.0439.000; Mon, 13 Jan 2020 15:26:21 +0800 From: wangyunjian To: Tiwei Bie CC: "dev@dpdk.org" , "maxime.coquelin@redhat.com" , "zhihong.wang@intel.com" , xudingke , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v2] net/virtio-user: fix return value of tap offload sets not checked Thread-Index: AQHVxub1TR/Y77QyckmrAehqwmko/qfnWueAgADcokA= Date: Mon, 13 Jan 2020 07:26:20 +0000 Message-ID: <34EFBCA9F01B0748BEB6B629CE643AE60CE22606@dggemm513-mbx.china.huawei.com> References: <1578572304-2296-1-git-send-email-wangyunjian@huawei.com> <20200113021605.GA84114@___> In-Reply-To: <20200113021605.GA84114@___> Accept-Language: en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.133.209.164] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v2] net/virtio-user: fix return value of tap offload sets not checked 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBUaXdlaSBCaWUgW21haWx0bzp0 aXdlaS5iaWVAaW50ZWwuY29tXQ0KPiBTZW50OiBNb25kYXksIEphbnVhcnkgMTMsIDIwMjAgMTA6 MTYgQU0NCj4gVG86IHdhbmd5dW5qaWFuIDx3YW5neXVuamlhbkBodWF3ZWkuY29tPg0KPiBDYzog ZGV2QGRwZGsub3JnOyBtYXhpbWUuY29xdWVsaW5AcmVkaGF0LmNvbTsgemhpaG9uZy53YW5nQGlu dGVsLmNvbTsNCj4geHVkaW5na2UgPHh1ZGluZ2tlQGh1YXdlaS5jb20+OyBzdGFibGVAZHBkay5v cmcNCj4gU3ViamVjdDogUmU6IFtkcGRrLWRldl0gW1BBVENIIHYyXSBuZXQvdmlydGlvLXVzZXI6 IGZpeCByZXR1cm4gdmFsdWUgb2YgdGFwIG9mZmxvYWQNCj4gc2V0cyBub3QgY2hlY2tlZA0KPiAN Cj4gT24gVGh1LCBKYW4gMDksIDIwMjAgYXQgMDg6MTg6MjRQTSArMDgwMCwgWXVuamlhbiBXYW5n IHdyb3RlOg0KPiA+IFRoZSBmdW5jdGlvbiB2aG9zdF9rZXJuZWxfdGFwX3NldF9vZmZsb2FkKCkg Y291bGQgcmV0dXJuIGVycm9ycywgdGhlDQo+ID4gcmV0dXJuIHZhbHVlIG5lZWQgdG8gYmUgY2hl Y2tlZC4gQW5kIHRoZXJlIGlzIG5vIG5lZWQgdG8gZmFpbCB3aGVuDQo+ID4gZXJyb3IgaXMgLUVO T1RTVVAuDQo+ID4NCj4gPiBGaXhlczogMWRiNGQyMzMwYmM4ICgibmV0L3ZpcnRpby11c2VyOiBj aGVjayBuZWdvdGlhdGVkIGZlYXR1cmVzDQo+ID4gYmVmb3JlIHNldCIpDQo+ID4gQ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