From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 5C8E11B1DB; Tue, 9 Jan 2018 14:27:54 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E123B20CB4; Tue, 9 Jan 2018 08:27:53 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 09 Jan 2018 08:27:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=fhETUWk7njXz4VOjsj74MRoN9HwQ0ma5rRkaMxun13A=; b=CkXqs7ev 5W5vd1eMwBFbl81dESi3CyzTrPZHQ9qhcspQykvGwRscOJ+zI6sxVYvWmjHTbV/l ydqDaHyu7PiccjCTJ+iAvua71At4J9/+EYEkbF2qpjgrNdVc3fOkQHxSmtKTdFA9 ZlSZD6RVFzG3FqFBQqxd5XjcGdqiX/i8NAvFiYIwf7fYrMm2Lu5a02dUy1IZR4ve vzaES4HCEIPjVOmnctN4DRJtocRCYMnU4gc+WX8fVsdfwV9H2sQ70r72f/TkPAnQ BTE0EgqBC199nwRl420gBYSNv4Mm9IW3+Vub9duPi86bRjKU4+VMnl2SCy/5CZjP UAq3X0ENMjPVNA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=fhETUWk7njXz4VOjsj74MRoN9HwQ0 ma5rRkaMxun13A=; b=SLFHgCB1qj9oZslZnNlJE6rFNgBR/jbsi/kP/CSxVFUxR OFwrG4X/T7J8n8cWRkLlX0cTLb9/af+wptkI1+yYmdNa99yAeZxiG2nBmmix7gVd RKt7EOABsVAJFS5OpofAuoOfS5OknG2EszqgyKohSrljhvnff0VW5QvrRTAIyAqT acV+D77wEQZG6+7J2o96uv+bQYBnM7sogUBtWOtY3/tdm+eyvL2aS9ZXe9sZ06nC XK2FdTNiRwBWcpg1lT3DPLehgRj8eYW60EwXL5FtvVSDJWqkm9KqtAvVoPEXw/Fw iWbLLkyep8uOhxEaWxUEb+jW8woLEmC1Kzvvpg0lw== X-ME-Sender: Received: from yliu-mob (unknown [115.150.10.63]) by mail.messagingengine.com (Postfix) with ESMTPA id EAF187E16A; Tue, 9 Jan 2018 08:27:52 -0500 (EST) Date: Tue, 9 Jan 2018 21:27:49 +0800 From: Yuanhan Liu To: Olivier Matz Cc: dev@dpdk.org, Maxime Coquelin , stable@dpdk.org 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 Content-Disposition: inline In-Reply-To: <20171208101949.1768-1-olivier.matz@6wind.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-stable] [PATCH] vhost: fix error code check when creating pthread 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: , X-List-Received-Date: Tue, 09 Jan 2018 13:27:54 -0000 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