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 D3834A0573; Wed, 4 Mar 2020 18:45:02 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A8A5E2C4F; Wed, 4 Mar 2020 18:45:01 +0100 (CET) Received: from mail6.tencent.com (mail6.tencent.com [220.249.245.26]) by dpdk.org (Postfix) with ESMTP id EAE943B5 for ; Wed, 4 Mar 2020 18:44:59 +0100 (CET) Received: from EX-SZ023.tencent.com (unknown [10.28.6.89]) by mail6.tencent.com (Postfix) with ESMTP id C522CCC1BB; Thu, 5 Mar 2020 01:45:26 +0800 (CST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tencent.com; s=s202002; t=1583343926; bh=9K2gLnaZ77Y5ol8W98SxrnuMfk0Kt48Q6TP0EBy00SY=; h=From:To:Subject:Date:References:In-Reply-To; b=IwFlVieptQU6iLnKtkVX+MV73P0yod2zXWVXhagIEcaGiE4LN9foF90OCLLf1caw6 ZvUrwYj8gCnI89zm57zGbyCVGyBNnGXPeIP0vadpxE0vFyqe38Po3aBtvVJrtdqAx7 RRjoj2gK0xMcmgRNWPIs2i6E/JX8gqIIvkOuLPbA= Received: from EX-SZ033.tencent.com (10.28.6.111) by EX-SZ023.tencent.com (10.28.6.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 5 Mar 2020 01:44:56 +0800 Received: from EX-SZ030.tencent.com (10.28.6.105) by EX-SZ033.tencent.com (10.28.6.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 5 Mar 2020 01:44:55 +0800 Received: from EX-SZ030.tencent.com ([fe80::719a:432d:c042:f349]) by EX-SZ030.tencent.com ([fe80::719a:432d:c042:f349%5]) with mapi id 15.01.1713.004; Thu, 5 Mar 2020 01:44:55 +0800 From: =?gb2312?B?dGd3X3RlYW0ozNrRts34udjNxbbTKQ==?= To: Stephen Hemminger , Tencent TGW team , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] rte_ethdev: fix unsafe memory access by calling RX callback. Thread-Index: AQHV8kyd1zm6A204mU2WgzdYS3iiKw== Date: Wed, 4 Mar 2020 17:44:55 +0000 Message-ID: References: <20200304140543.31612-1-tgw_team@tencent.com> <20200304081509.072c9d3b@hermes.lan> , <20200304093747.64f1f251@hermes.lan> In-Reply-To: <20200304093747.64f1f251@hermes.lan> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.14.87.134] MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH] rte_ethdev: fix unsafe memory access by calling RX callback. 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" DQpTbyBpbiBteSBwYXRjaCBpdCB3YXMgY2hhbmdlZCB0byBvbmx5IG9uZSBtZW1vcnkgYWNjZXNz Lg0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0Kt6K8/sjLOiBTdGVwaGVuIEhl bW1pbmdlciA8c3RlcGhlbkBuZXR3b3JrcGx1bWJlci5vcmc+DQq3osvNyrG85DogMjAyMMTqM9TC NcjVIDE6MzcNCsrVvP7IyzogdGd3X3RlYW0ozNrRts34udjNxbbTKQ0Ks63LzTogVGVuY2VudCBU R1cgdGVhbTsgVGhvbWFzIE1vbmphbG9uOyBGZXJydWggWWlnaXQ7IEFuZHJldyBSeWJj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