From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by dpdk.org (Postfix) with ESMTP id 29A832C07 for ; Tue, 4 Oct 2016 11:42:31 +0200 (CEST) Received: by mail-wm0-f52.google.com with SMTP id k125so196159199wma.1 for ; Tue, 04 Oct 2016 02:42:31 -0700 (PDT) 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:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=66gAuLIu1NmHFhbfr4Oj2pgEXMxYWb1Nj4AApiPy/XI=; b=g7ut8Rk4iGmZmgSArSknKisagWNhbBtQRvlomQ2e3jOiXpTTWQe2xNi10XKVVNghDG b3BIiVijgX4mARgpIt5xp1VfYPHePVyhaDT/57Gd3bzpZ6i/aZqhraXe9MRTffbJi7Kk vQBg9QcarQ+bu/r3HXfuJ8tp8KAaVeu05gg5GiN8V032kTaEs0W+sL4GgzZzdNsZ3fky w+YUIqzGnas9KhlsESSoURuVfAq3NTQjLnLgIfgfSqjCSGYKZR1vsK4vcgFwnP/TBHPz StHfmbnCP3WrZGmSobC63fWTDz4Z0SSCjFQmI6gRBIk4LKUDJs2ErXcl5qKbl7nqcvdR gYrA== 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:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=66gAuLIu1NmHFhbfr4Oj2pgEXMxYWb1Nj4AApiPy/XI=; b=mSs4r/5us0QTqLFNyxcyeDdX9nHyf+CPDzZfiMYceXFf4NgcyxXefBjDs9xG4dLrHo CWNVuj6VfnRIe6oM0TyTyr94D3LJM55LPklrdj7yHF0aPWXc3eM9kBqlFY/tOiVKj4ls ZY2/CZIR1/nhXtjn1iombtxP0DwGGkNPfQF3EOwqMUwqS8sodwXgzFu9a8Njpbyh/IPp J+9y1jYLiUgBN5SAIio49ocir83qIIhcniLmhA5lQyaxYybcfJghdAsCZLL61JepZ+Zd IIniFR948tFDZ89pNc4BIb3fhMPEXaSiqYX5rK7bnuJMyAxQs6Yemy+wV1lM1PkEe4Fh 9jkg== X-Gm-Message-State: AA6/9Rkcx2opOwmoQf7V7oLaWtHTm4A/bOsLhT8ii7d0vOnVPHI1nVszPaZ5FkobwVv3+SsS X-Received: by 10.28.8.203 with SMTP id 194mr3216910wmi.22.1475574150847; Tue, 04 Oct 2016 02:42:30 -0700 (PDT) Received: from xps13.localnet (172.17.90.92.rev.sfr.net. [92.90.17.172]) by smtp.gmail.com with ESMTPSA id r1sm2549445wjc.43.2016.10.04.02.42.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 02:42:30 -0700 (PDT) From: Thomas Monjalon To: Pablo de Lara Cc: dev@dpdk.org, Bruce Richardson Date: Tue, 04 Oct 2016 11:41:29 +0200 Message-ID: <10540549.KPb94ZLlzP@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20161004093444.GA100068@bricha3-MOBL3> References: <1475565394-184188-1-git-send-email-pablo.de.lara.guarch@intel.com> <20161004093444.GA100068@bricha3-MOBL3> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] hash: fix incorrect free slot check 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, 04 Oct 2016 09:42:31 -0000 2016-10-04 10:34, Bruce Richardson: > On Tue, Oct 04, 2016 at 08:16:34AM +0100, Pablo de Lara wrote: > > In function rte_hash_cuckoo_insert_mw_tm, while looking for > > an empty slot, only the first entry in the bucket was being checked, > > as key_idx array was not being iterated. > > > > Fixes: 5fc74c2e146d ("hash: check if slot is empty with key index") > > > > Reported-by: Bruce Richardson > > Signed-off-by: Pablo de Lara > Acked-by: Bruce Richardson Applied, thanks