From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] hash: fix incorrect lookup if key is all zero Date: Wed, 04 Nov 2015 01:07:07 +0100 Message-ID: <1838942.nAt6fuXjVt@xps13> References: <1442480658-4741-1-git-send-email-pablo.de.lara.guarch@intel.com> <1442485848-25401-1-git-send-email-pablo.de.lara.guarch@intel.com> <20150928102948.GA27944@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: Pablo de Lara Return-path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id A15CE8E88 for ; Wed, 4 Nov 2015 01:08:40 +0100 (CET) Received: by wicll6 with SMTP id ll6so79999387wic.0 for ; Tue, 03 Nov 2015 16:08:40 -0800 (PST) In-Reply-To: <20150928102948.GA27944@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" 2015-09-28 11:29, Bruce Richardson: > On Thu, Sep 17, 2015 at 11:30:48AM +0100, Pablo de Lara wrote: > > If user has not added an all zero key in the hash table, > > and tries to look it up, it results in an incorrect hit, > > as dummy slot in the key table has all zero as well. > > > > Fixes: 48a399119619 ("hash: replace with cuckoo hash implementation") > > > > Signed-off-by: Pablo de Lara > > Acked-by: Bruce Richardson Applied, thanks