From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind_com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=j1p6dBjdYLSL+yPp5od850WZ+Z3aYKjGbNWXiotbn+I=; b=BUkg/vvnxXkDEjzqxIceQHBnVZLeDyeFjroKx2jmvOm10jPH+FG/ItdNJ/qBZX71ZW UbExtqVUHNSlPsr36lGGqGLy2S32nmQj2+Ckye2anABIJ0k2W2nfRmch5xsCH1GFOBeV ZQDpKhr3b47tYyiquq0i6R76geFijxSgbiNgkoSc5IYjlCXT317XE1ElJW0dvYoZbc7P EBzeCAKZKuPPDSvx32TQaG6fLMQIWdqfbKaS8gv0e/hoi+ZSOenNpU6nVX6S4m6sntng fNDcqSL9c9yxbooTpXdS2/u+2h3eKJU0+EqFNvHngrsbEWAJul1HvdaBp12fQyGEY+Rd xAlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=j1p6dBjdYLSL+yPp5od850WZ+Z3aYKjGbNWXiotbn+I=; b=PoHe30MNop2BPkd0JwETOqW4UKARhDLkyAlKk51Cxhju8anSiHgV3ZvptLeKgCIFlG AKfWvwq/T3/dPTZHbAWXQDgPHj9croFvBExP5Yq1D7yfnqCM1H0ejbmbJUb2yhNbDkxH 5VM0liTDMmxd8q2/1Te4J0MK+9lh7xR1qjdnls1mVZpYNuqYtIyenYqSWZRatZRXxl12 K426Rfwz7170QQb/l+MB+c8tkT2R5Dd3sPoj5f9CFbEkckM/pQMbxp9WamIyfEXZSquM +aulSImY2R7v45CvbTtYOtPtK6JmMtzOz5O80TXySfnTSTLtDCNcLjD8r5VlN4TEzRfI IjzA== X-Gm-Message-State: ALoCoQlVqA+Uw6ESupxr3PGA9pVOfaNiimtvTAksGqPa8gfZorZtImJlRRHOfXYhycinPuuG4umD X-Received: by 10.194.114.70 with SMTP id je6mr31245783wjb.7.1446595720515; Tue, 03 Nov 2015 16:08:40 -0800 (PST) Received: from xps13.localnet ([93.158.41.25]) by smtp.gmail.com with ESMTPSA id l131sm85849wmd.14.2015.11.03.16.08.38 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Nov 2015 16:08:39 -0800 (PST) From: Thomas Monjalon To: Pablo de Lara Date: Wed, 04 Nov 2015 01:07:07 +0100 Message-ID: <1838942.nAt6fuXjVt@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20150928102948.GA27944@bricha3-MOBL3> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] hash: fix incorrect lookup if key is all zero 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: Wed, 04 Nov 2015 00:08:40 -0000 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