From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH] vhost: fix error code check when creating pthread Date: Tue, 9 Jan 2018 21:27:49 +0800 Message-ID: <20180109132749.GM29540@yliu-mob> References: <20171208101949.1768-1-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, Maxime Coquelin , stable@dpdk.org To: Olivier Matz Return-path: Content-Disposition: inline In-Reply-To: <20171208101949.1768-1-olivier.matz@6wind.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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@dpdk.org > > Signed-off-by: Olivier Matz > --- Applied to dpdk-next-virtio. Thanks. --yliu