From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <sergio.gonzalez.monroy@intel.com>
Received: from mga14.intel.com (mga14.intel.com [192.55.52.115])
 by dpdk.org (Postfix) with ESMTP id 3E2E2CF9
 for <dev@dpdk.org>; Tue, 28 Jul 2015 17:08:11 +0200 (CEST)
Received: from fmsmga001.fm.intel.com ([10.253.24.23])
 by fmsmga103.fm.intel.com with ESMTP; 28 Jul 2015 08:07:41 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.15,563,1432623600"; d="scan'208";a="756636066"
Received: from smonroyx-mobl.ger.corp.intel.com (HELO [10.237.220.82])
 ([10.237.220.82])
 by fmsmga001.fm.intel.com with ESMTP; 28 Jul 2015 08:07:40 -0700
Message-ID: <55B79ABB.2060000@intel.com>
Date: Tue, 28 Jul 2015 16:07:39 +0100
From: "Gonzalez Monroy, Sergio" <sergio.gonzalez.monroy@intel.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64;
 rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Xavier Simonart <xavier.simonart@intel.com>
References: <1438095279-234959-1-git-send-email-xavier.simonart@intel.com>
In-Reply-To: <1438095279-234959-1-git-send-email-xavier.simonart@intel.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] hash: fix crash when adding already inserted
 keys
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: Tue, 28 Jul 2015 15:08:11 -0000

On 28/07/2015 15:54, Xavier Simonart wrote:
> When adding with cuckoo hash a key which was already inserted
> a new slot is dequeued and then enqueued back, but the enqueue
> operation was not done properly.
>
> Signed-off-by: Xavier Simonart <xavier.simonart@intel.com>
> ---
>   lib/librte_hash/rte_cuckoo_hash.c | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
Acked-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>