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 1A99F8D3B for ; Tue, 17 Apr 2018 10:26:29 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 93E2A2102E; Tue, 17 Apr 2018 04:26:28 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 17 Apr 2018 04:26:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=dN4z2C8pBASW2TGIux0LFqc4I6 cJq8EZZ8QExXi8e0o=; b=bj540AEc0ygppICeVGP79ZdOp+vT+WMFU37+k+6w+z ayJI8xGB2/43dNuyO6Hg2nSzXH0WOOMIgNPGGrR0+VRjIEJ+Ilf5a3nszWt63qmF LLVWL0t5TW8C8plktgRPTBZJQxgZLov/f6Q1sPVIzqoPfZG3jy7uohyCpty6/ZR4 I= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=dN4z2C 8pBASW2TGIux0LFqc4I6cJq8EZZ8QExXi8e0o=; b=kEty42Qh9oVA+0SCKKE0NU 0mRmgh5UZ4Gkuy9t4dxHPGcU8ZRhy0mBB60yt9O1/Jy7UWUOjR44twwEkTUG5pJN vR9zncml67kM2pjcCY1mpp4iizCWEyxcC7cTuuYg1NuJMGmM2+8dJVRdfQqc+gY8 HNcMVjg0GGKyUwX3TBr4mjihXI8U2SpgDJHrIHq9erW+yJ/vL8UGxSY3H0nzLgit oGuoTjIByRdeKendaDjyHK3Ijz9WPNIVe7zBQEAnKDfLvc6iKcRcMDHroRcqGXRA ILmxtbbqXQ85W9Xio0hn8CMdGV+h77/Fj0uXDix/Bz7U8X4s317APs866WkUD4bA == X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E9FCFE4394; Tue, 17 Apr 2018 04:26:27 -0400 (EDT) From: Thomas Monjalon To: Anatoly Burakov Cc: dev@dpdk.org, jianfeng.tan@intel.com Date: Tue, 17 Apr 2018 10:26:26 +0200 Message-ID: <5424070.ZGchgKJLDU@xps> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/ipc: fix missing mutex unlocks on failed msg send 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, 17 Apr 2018 08:26:29 -0000 13/04/2018 16:16, Anatoly Burakov: > Earlier fix for race condition introduced a bug where mutex > wasn't unlocked if message failed to be sent. Fix all of this > by moving locking out of mp_request_sync() altogether. > > Fixes: da5957821bdd ("eal: fix race condition in IPC request") > Cc: anatoly.burakov@intel.com > > Signed-off-by: Anatoly Burakov Applied, thanks