From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v5] lib/efd: fix to free tail queue entry after use Date: Fri, 18 Jan 2019 19:21:19 +0100 Message-ID: <6532006.Z9o0PgfHpl@xps> References: <1542109533-14283-1-git-send-email-hari.kumarx.vemula@intel.com> <1547797242-7553-1-git-send-email-hari.kumarx.vemula@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, byron.marohn@intel.com, reshma.pattan@intel.com, pablo.de.lara.guarch@intel.com, jananeex.m.parthasarathy@intel.com, stable@dpdk.org To: Hari Kumar Vemula Return-path: In-Reply-To: <1547797242-7553-1-git-send-email-hari.kumarx.vemula@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 18/01/2019 08:40, Hari Kumar Vemula: > In rte_efd_create() allocated memory for tail queue entry but > not freed. > Added freeing the tail queue entry. > > Fixes: 56b6ef874f80 ("efd: new Elastic Flow Distributor library") > Cc: stable@dpdk.org > > Signed-off-by: Hari Kumar Vemula > Reviewed-by: Honnappa Nagarahalli > Acked-by: Reshma Pattan > Acked-by: Pablo de Lara > --- > v5: Removed NULL initialization > v4: RTE_TAILQ_CAST moved after for loop > v3: Replaced TAILQ_FOREACH_SAFE with TAILQ_FOREACH > v2: Updated commit message. > --- Applied, thanks