[dpdk-dev] [dpdk-stable] [PATCH] pdump: fix error code check when creating/canceling pthread

Mcnamara, John john.mcnamara at intel.com
Tue Jan 16 17:02:18 CET 2018



> -----Original Message-----
> From: stable [mailto:stable-bounces at dpdk.org] On Behalf Of Olivier Matz
> Sent: Friday, December 8, 2017 10:20 AM
> To: dev at dpdk.org; Pattan, Reshma <reshma.pattan at intel.com>
> Cc: stable at dpdk.org
> Subject: [dpdk-stable] [PATCH] pdump: fix error code check when
> creating/canceling pthread
> 
> On error, pthread_create() returns a positive number (an errno) but does
> not set the errno variable.
> 
> Fixes: 278f945402c5 ("pdump: add new library for packet capture")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>

Acked-by: John McNamara <john.mcnamara at intel.com>



More information about the dev mailing list