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 939EFA3160 for ; Wed, 9 Oct 2019 17:06:28 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F08301E53E; Wed, 9 Oct 2019 17:06:27 +0200 (CEST) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by dpdk.org (Postfix) with ESMTP id 9FEB81E534 for ; Wed, 9 Oct 2019 17:06:26 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Date: Wed, 9 Oct 2019 17:06:24 +0200 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35C60B69@smartserver.smartshare.dk> In-Reply-To: <20191009080218.3711bef3@hermes.lan> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: packet data access bug in bpf and pdump libs Thread-Index: AdV+spOaeq679ZWvQsWqBocKQzVHEQAADldA References: <98CBD80474FA8B44BF855DF32C47DC35C60B67@smartserver.smartshare.dk><2601191342CEEE43887BDE71AB977258019197431F@irsmsx105.ger.corp.intel.com> <20191009080218.3711bef3@hermes.lan> From: =?utf-8?B?TW9ydGVuIEJyw7hydXA=?= To: "Stephen Hemminger" , "Ananyev, Konstantin" Cc: "dpdk-dev" , "Jerin Jacob" Subject: Re: [dpdk-dev] packet data access bug in bpf and pdump libs 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" PiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBTdGVwaGVuIEhlbW1pbmdlciBb bWFpbHRvOnN0ZXBoZW5A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