From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mbuf: fix leak and errno on pool creation error Date: Wed, 05 Oct 2016 14:22:02 +0200 Message-ID: <2079232.6vft58k6bQ@xps13> References: <1474288481-19573-1-git-send-email-olivier.matz@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, stable@dpdk.org To: Olivier Matz 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) In-Reply-To: <1474288481-19573-1-git-send-email-olivier.matz@6wind.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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