From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com
 [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 923CF2A1A
 for <dev@dpdk.org>; Thu, 17 Sep 2015 12:15:34 +0200 (CEST)
Received: by wicgb1 with SMTP id gb1so110940157wic.1
 for <dev@dpdk.org>; Thu, 17 Sep 2015 03:15:34 -0700 (PDT)
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=BY0sDNrTZLV8id7ObXuxV6Guo60J4k8PrPslMxHJY7U=;
 b=lajvhVbu6Xfcdll/ELuaVqkLoGOJvJueBs1OVzxeTP5OaDzfV1VeAx/2ukiqCz1uBN
 +keY5dvQ/mFKZkvTPZcWt6PMUc9xqUhwJhAP1p1aV1SXcMEsUQ3E+hFFnd9pyIqOzClB
 FqyQSsdlrdXQsp+F4WaoPJHNu3MZ7EAX9sPz1QEqq/ktM77nP6Ds6UbwXXJyZf5ocSJV
 GNpAHbqk/SXycBbYNw6vlCQU2MPZitbx/vK44AF5hvFVK0ADxFJfr1MZbFR7+EPrhcc2
 WlXwPKCAySWB/nQOyJZczb1pmIb2t8Hb6EvNayn1aXSCi3NnFKtE/xK+YW/arLnmg8L3
 B/Uw==
X-Gm-Message-State: ALoCoQnz5XhAaiDNf93UXsulIO8Pk1E0TqCpyHU5Rjj7ICf0lFrEiHpkqaaIjvfaTfKEvfkmofPg
X-Received: by 10.180.108.175 with SMTP id hl15mr6325895wib.1.1442484934469;
 Thu, 17 Sep 2015 03:15:34 -0700 (PDT)
Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136])
 by smtp.gmail.com with ESMTPSA id lh11sm9227572wic.18.2015.09.17.03.15.33
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 17 Sep 2015 03:15:33 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Date: Thu, 17 Sep 2015 12:14:25 +0200
Message-ID: <24059927.eiubDUzeCy@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; )
In-Reply-To: <1442480658-4741-1-git-send-email-pablo.de.lara.guarch@intel.com>
References: <1442480658-4741-1-git-send-email-pablo.de.lara.guarch@intel.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] 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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Sep 2015 10:15:34 -0000

Hi Pablo,

2015-09-17 10:04, Pablo de Lara:
> 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.
> 
> Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>

Please try to remember to use "Fixes:" tag.