From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 70576941E for ; Fri, 30 Oct 2015 20:00:35 +0100 (CET) Received: by wmll128 with SMTP id l128so19390040wml.0 for ; Fri, 30 Oct 2015 12:00:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references; bh=rLIOWoi6FuDZ/FuXtXDk1SDhAtmrqJMndWA4y/aHEbw=; b=Bxnybby42vJe0fi79bugTACoyuXjIl7hcyx0z/MXVMcWLV4nBJ2RVNIcIQTgsj1eVi wHN8832bbfkRwsQHYpNXkA8faIgEPHrK3t9Sptx6Ln2rJhrXRvPywd8W8ZbrIjqLK3rh Kv2ylTw4xZ/jrrY7wd4/1ZlDXmrrhJU50NLQKyD0KfRKfGITwYYOxcehAQqk99lqUfMj HX6tW27p7b7eKmQDGcb70TDIJXdPRBB62n5zTSgdI0gEtTHmZ6bT22j6kx5/3VIN1RF/ AaokTyboyW2PdAsiDrb204NA3cGs/HZtTCluDiHrnqhhBm67SiW7SgdiXo3+EhVir1GR fDsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=rLIOWoi6FuDZ/FuXtXDk1SDhAtmrqJMndWA4y/aHEbw=; b=Yj5+j/vZ8vujRaMh71+zkSg+92SX7eUOTeY+6u58TDtVVCYAjG8kMcPEIJg+fE2l3h nCECfYXy5R6J6VSLQ0OUuD1Zr6XAAWXYkeP684MHoPyfvrxO7p33GHaCtefNxURIhuYV 6zuY3R45ZlCG/ViFeWvab3XFarRGn5U/IAozyHANtuOXfgzINX7vYXdedmiRep9+i9cP ykKKN1jbtz8gcv0jpd31p1xkZgxyK2ZjrG6vwYFV6gkrHLc53958I+V0gwe/fdfWvjsi jOUiBraLZVmVH9IXGSOAYQca04Tb/hkYGrXv6xgXYep+MbGK73r9aaEGMmEJzc39PpLv 3AXQ== X-Gm-Message-State: ALoCoQkA2B1gfVQxTPvvzsDzoVPgiPj/huVJtpVDgaGr/BEG51ugOT7c6UMSmsSWVl36lvo0q09f X-Received: by 10.28.11.71 with SMTP id 68mr5546180wml.77.1446231635313; Fri, 30 Oct 2015 12:00:35 -0700 (PDT) Received: from 6wind.com (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id t2sm4269388wme.0.2015.10.30.12.00.34 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 30 Oct 2015 12:00:34 -0700 (PDT) From: Adrien Mazarguil To: dev@dpdk.org Date: Fri, 30 Oct 2015 20:00:09 +0100 Message-Id: <1446231609-8463-3-git-send-email-adrien.mazarguil@6wind.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1446231609-8463-1-git-send-email-adrien.mazarguil@6wind.com> References: <1446231609-8463-1-git-send-email-adrien.mazarguil@6wind.com> Subject: [dpdk-dev] [PATCH 3/3] mlx4: fix missing unlock in case of error X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 19:00:35 -0000 Fixes: 7fae69eeff13 ("mlx4: new poll mode driver") Signed-off-by: Adrien Mazarguil --- drivers/net/mlx4/mlx4.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/mlx4/mlx4.c b/drivers/net/mlx4/mlx4.c index 3b25492..691e0e5 100644 --- a/drivers/net/mlx4/mlx4.c +++ b/drivers/net/mlx4/mlx4.c @@ -3652,6 +3652,7 @@ mlx4_dev_start(struct rte_eth_dev *dev) } } priv->started = 0; + priv_unlock(priv); return -ret; } while ((--r) && ((rxq = (*priv->rxqs)[++i]), i)); priv_dev_interrupt_handler_install(priv, dev); -- 2.1.0