From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] hash: fix incorrect lookup if key is all zero Date: Thu, 17 Sep 2015 12:14:25 +0200 Message-ID: <24059927.eiubDUzeCy@xps13> References: <1442480658-4741-1-git-send-email-pablo.de.lara.guarch@intel.com> 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-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) by dpdk.org (Postfix) with ESMTP id 923CF2A1A for ; Thu, 17 Sep 2015 12:15:34 +0200 (CEST) Received: by wicgb1 with SMTP id gb1so110940157wic.1 for ; Thu, 17 Sep 2015 03:15:34 -0700 (PDT) In-Reply-To: <1442480658-4741-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" 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 Please try to remember to use "Fixes:" tag.