From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP; 04 Oct 2016 02:34:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.31,442,1473145200"; d="scan'208";a="16444095" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.220.126]) by orsmga004.jf.intel.com with SMTP; 04 Oct 2016 02:34:45 -0700 Received: by (sSMTP sendmail emulation); Tue, 04 Oct 2016 10:34:44 +0025 Date: Tue, 4 Oct 2016 10:34:44 +0100 From: Bruce Richardson To: Pablo de Lara Cc: dev@dpdk.org 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 Content-Disposition: inline In-Reply-To: <1475565394-184188-1-git-send-email-pablo.de.lara.guarch@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [dpdk-dev] [PATCH] hash: fix incorrect free slot check 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: Tue, 04 Oct 2016 09:34:48 -0000 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