From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: fix incorrect free slot check Date: Tue, 04 Oct 2016 11:41:29 +0200 Message-ID: <10540549.KPb94ZLlzP@xps13> References: <1475565394-184188-1-git-send-email-pablo.de.lara.guarch@intel.com> <20161004093444.GA100068@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Bruce Richardson To: Pablo de Lara 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 29A832C07 for ; Tue, 4 Oct 2016 11:42:31 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id k125so196159199wma.1 for ; Tue, 04 Oct 2016 02:42:31 -0700 (PDT) In-Reply-To: <20161004093444.GA100068@bricha3-MOBL3> 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-10-04 10:34, Bruce Richardson: > On Tue, Oct 04, 2016 at 08:16:34AM +0100, Pablo de Lara wrote: > > In function rte_hash_cuckoo_insert_mw_tm, while looking for > > an empty slot, only the first entry in the bucket was being checked, > > as key_idx array was not being iterated. > > > > Fixes: 5fc74c2e146d ("hash: check if slot is empty with key index") > > > > Reported-by: Bruce Richardson > > Signed-off-by: Pablo de Lara > Acked-by: Bruce Richardson Applied, thanks