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 269B3A04A3 for ; Tue, 5 Nov 2019 18:10:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 037411BEF8; Tue, 5 Nov 2019 18:10:42 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 4B6D14C8E; Tue, 5 Nov 2019 18:10:38 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Nov 2019 09:10:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,271,1569308400"; d="scan'208";a="200436805" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by fmsmga008.fm.intel.com with ESMTP; 05 Nov 2019 09:10:35 -0800 Received: from irsmsx102.ger.corp.intel.com ([169.254.2.40]) by IRSMSX106.ger.corp.intel.com ([169.254.8.185]) with mapi id 14.03.0439.000; Tue, 5 Nov 2019 17:10:34 +0000 From: "Ferriter, Cian" To: Kevin Traynor , David Marchand CC: dev , dpdk stable , "Yigit, Ferruh" Thread-Topic: [dpdk-dev] [PATCH 1/9] net/pcap: fix argument checks Thread-Index: AQHVeFdEOzydqTS3g0u86TPrygSSGqdy/UGAgAoBpQCAAAfmMA== Date: Tue, 5 Nov 2019 17:10:34 +0000 Message-ID: <579B86492DFB364BBA627A48FB30C90E75E01B95@IRSMSX102.ger.corp.intel.com> References: <20191001125315.6191-1-ktraynor@redhat.com> <20191001125315.6191-2-ktraynor@redhat.com> <63b80ce5-6847-7983-52eb-69836d20f191@redhat.com> In-Reply-To: <63b80ce5-6847-7983-52eb-69836d20f191@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjFiM2FmNjAtODdjMC00OGQ5LTg0NzUtOWUzZGFmOGY1ODA5IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiaDQwNVY1RVVNT0ZXOHZwZm1Yc2tYU0l3emRDbFNqeXVGZUtYK3NjTXNOK3ZWN2kyWkFvNXF1MWI3K3FGUzh5UiJ9 dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH 1/9] net/pcap: fix argument checks X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogS2V2aW4gVHJheW5vciA8 a3RyYXlub3JAcmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSA1IE5vdmVtYmVyIDIwMTkgMTY6 NDENCj4gVG86IERhdmlkIE1hcmNoYW5kIDxkYXZpZC5tYXJjaGFuZEByZWRoYXQuY29tPg0KPiBD YzogZGV2IDxkZXZAZHBkay5vcmc+OyBGZXJyaXRlciwgQ2lhbiA8Y2lhbi5mZXJ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