[dpdk-dev] [PATCH] vhost: fix error code check when creating	pthread
    Yuanhan Liu 
    yliu at fridaylinux.org
       
    Tue Jan  9 14:27:49 CET 2018
    
    
  
On Fri, Dec 08, 2017 at 11:19:49AM +0100, Olivier Matz wrote:
> On error, pthread_create() returns a positive number (errno).
> Fix the test on the return value.
> 
> Fixes: af1475918124 ("vhost: introduce API to start a specific driver")
> Fixes: e623e0c6d8a5 ("vhost: add reconnect ability")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Olivier Matz <olivier.matz at 6wind.com>
> ---
Applied to dpdk-next-virtio.
Thanks.
	--yliu
    
    
More information about the dev
mailing list