From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 3E2E2CF9 for ; 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" 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-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 > --- > lib/librte_hash/rte_cuckoo_hash.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Acked-by: Sergio Gonzalez Monroy