From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 8DCD97F00 for ; Wed, 5 Oct 2016 14:22:05 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id f193so225839733wmg.0 for ; Wed, 05 Oct 2016 05:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=XlvDp6PHiMrSsN0QiIYv1FmMjkyRwjFnStaBl2qDNZk=; b=OEqu6rDIOI11QA0+6fLGpclhIbdq7st93s8kBp4Ocd9aynQ9Ysn/084EDgnuNNlDp1 d12IQOUtjE+CeVHOBDU6/7OLvlmngClZTs1A9LHNIpV0+olb3n/426yL2upFKBrtUaNW dqt58TMSPcncj7AXmKu69lhs+HfO6ln14bWhmSf0LB7IlNECs/z3hK+W0Cafd7oGJ81S lD8A3z39Ji4a5FDC6M/uPkB4anRPaRmWbMP2roTQjuNkwIj/UQlFo1/UsjHzTDrxCBuX URhaWC8F6qD91Ms6X0z/3MWAVtt0qtXVYnkY3YqfjtJUnwbZLPGf43r79hSG+2hTTBhb eBvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=XlvDp6PHiMrSsN0QiIYv1FmMjkyRwjFnStaBl2qDNZk=; b=ZS79kahRn5NqfGSaX2jVVvjp3LmEHtToYJtgMjLOhYJaWYMmqPIFRysYtWpMAzNe/m Zrim7JdTpw42cVCUH/0eNd67P6pa4e9/6jWeeH3wMW/WL+6DfOMVLPvO7LoqZa6LqCYe ISb9zOCdczzmEDy8OVf8xJs9ym0eddr66Ir7ExOPigq5niQWHM+B4/Nidsg4GLMez7e8 KxaR7CN/7kugStLh1zAwrBmSGtNfFqzvO+4AOyjjIlR6KzwkfuxezD9QEOcFAxT6QOuw CzsZGMoGhrY9n9naioWp+g9yvgo2XvekXWUJHoGpHddfxB7c/bpk8HmJoGM6wUBEUJhZ sQcQ== X-Gm-Message-State: AA6/9RlxiSyZIuTW2NyD9Rex2ETEns8TXOwJORD98xZY1b79MaGhpAAicDbFgrxlSY3am0rE X-Received: by 10.28.4.143 with SMTP id 137mr16438714wme.91.1475670125351; Wed, 05 Oct 2016 05:22:05 -0700 (PDT) Received: from xps13.localnet (guy78-3-82-239-227-177.fbx.proxad.net. [82.239.227.177]) by smtp.gmail.com with ESMTPSA id v128sm9327968wmv.3.2016.10.05.05.22.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 05 Oct 2016 05:22:04 -0700 (PDT) From: Thomas Monjalon To: Olivier Matz Cc: dev@dpdk.org, stable@dpdk.org Date: Wed, 05 Oct 2016 14:22:02 +0200 Message-ID: <2079232.6vft58k6bQ@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1474288481-19573-1-git-send-email-olivier.matz@6wind.com> References: <1474288481-19573-1-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] mbuf: fix leak and errno on pool creation 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: Wed, 05 Oct 2016 12:22:05 -0000 2016-09-19 14:34, Olivier Matz: > On error, the mempool object has to be freed, and rte_errno should be a > positive value. > > Fixes: 152ca517900b ("mbuf: use default mempool handler from config") > > Signed-off-by: Olivier Matz Applied, thanks