From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 297CF1B2E6; Tue, 16 Jan 2018 17:02:21 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 16 Jan 2018 08:02:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,368,1511856000"; d="scan'208";a="10993324" Received: from irsmsx106.ger.corp.intel.com ([163.33.3.31]) by orsmga006.jf.intel.com with ESMTP; 16 Jan 2018 08:02:20 -0800 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.138]) by IRSMSX106.ger.corp.intel.com ([169.254.8.36]) with mapi id 14.03.0319.002; Tue, 16 Jan 2018 16:02:19 +0000 From: "Mcnamara, John" To: Olivier Matz , "dev@dpdk.org" , "Pattan, Reshma" CC: "stable@dpdk.org" Thread-Topic: [dpdk-stable] [PATCH] pdump: fix error code check when creating/canceling pthread Thread-Index: AQHTcA4wUK9o3Gd5TU6vSQXXi2Q2KKN25pAw Date: Tue, 16 Jan 2018 16:02:18 +0000 Message-ID: References: <20171208102013.1930-1-olivier.matz@6wind.com> In-Reply-To: <20171208102013.1930-1-olivier.matz@6wind.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzE0NTk2NDAtOWNkNi00ZjcyLWJiNDQtNWRkN2U2YTFmMmQxIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InB5MHZTcGhBa1VWU1FjR3lsclhqZlVYWExnalZkXC9mSHRzMjEySWFcL053ST0ifQ== dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] pdump: fix error code check when creating/canceling pthread 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: , X-List-Received-Date: Tue, 16 Jan 2018 16:02:22 -0000 > -----Original Message----- > From: stable [mailto:stable-bounces@dpdk.org] On Behalf Of Olivier Matz > Sent: Friday, December 8, 2017 10:20 AM > To: dev@dpdk.org; Pattan, Reshma > Cc: stable@dpdk.org > Subject: [dpdk-stable] [PATCH] pdump: fix error code check when > creating/canceling pthread >=20 > On error, pthread_create() returns a positive number (an errno) but does > not set the errno variable. >=20 > Fixes: 278f945402c5 ("pdump: add new library for packet capture") > Cc: stable@dpdk.org >=20 > Signed-off-by: Olivier Matz Acked-by: John McNamara