From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Richardson Subject: Re: [PATCH] hash: fix incorrect free slot check Date: Tue, 4 Oct 2016 10:34:44 +0100 Message-ID: <20161004093444.GA100068@bricha3-MOBL3> References: <1475565394-184188-1-git-send-email-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 667302BA1 for ; Tue, 4 Oct 2016 11:34:48 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1475565394-184188-1-git-send-email-pablo.de.lara.guarch@intel.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" 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