From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by dpdk.org (Postfix) with ESMTP id EFDC29A8E for ; Fri, 27 Mar 2015 12:18:28 +0100 (CET) Received: by wibgn9 with SMTP id gn9so26637374wib.1 for ; Fri, 27 Mar 2015 04:18:28 -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=fhWSWZKdWPv7Zw9yn1HVWCQet2BPgD6Lx2C8lKqhQpY=; b=QNcPx9cQkpk71mGArHMLZuUvpz2Du/jGcTykJzvXUugvG5yJnmSqPW2a5HMt4BKOmI I55jvhNBg90SYkzU9n01pG0xDEOVxnlQPlFcwL+ANFCaajL4DdJQX2YGRkthjroAX5KY hJ2+6cid7MblFnp4y6rbfunVuAdk9A6g6at8YnXxXnY/wRZGHWsb/kRgcOeq4lDd019N PDGUCW1jm7u4X/U6XvmxWe5QS1g6letjeqAwJsOhPTnLTSHPnF+Nrs7/leChM1TXaWWv nOWkqx5hotQuz1aMZ5Q3yMXSlpLMGViVbrWgUAkvSnIOEGwNLi/k0LLxdTBIrFubVry0 IqGQ== X-Gm-Message-State: ALoCoQkfaATAQ0Xr5gaE79CoqxW9InT0IhruCr54KpGcttQMO1GVquVRVzam8kRyQW2IhJ0ybZpG X-Received: by 10.194.80.193 with SMTP id t1mr37793262wjx.8.1427455108806; Fri, 27 Mar 2015 04:18:28 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id n6sm2399502wjy.8.2015.03.27.04.18.27 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 27 Mar 2015 04:18:28 -0700 (PDT) From: Thomas Monjalon To: "Walukiewicz, Miroslaw" Date: Fri, 27 Mar 2015 12:17:47 +0100 Message-ID: <3578319.VkFlt817fq@xps13> Organization: 6WIND User-Agent: KMail/4.14.4 (Linux/3.18.4-1-ARCH; KDE/4.14.4; x86_64; ; ) In-Reply-To: <3EB4FA525960D640B5BDFFD6A3D89126323370FC@IRSMSX108.ger.corp.intel.com> References: <20150303141600.13055.77862.stgit@gklab-18-011.igk.intel.com> <3EB4FA525960D640B5BDFFD6A3D89126323370FC@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, "Nemeth, Balazs" Subject: Re: [dpdk-dev] [PATCH] dpdk: fix a crash during rte_table_hash_key16_ext overload 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: Fri, 27 Mar 2015 11:18:29 -0000 > > The hash_key16_ext table allocates a cache entries to support > > table overload cases. > > > > The crash can occur when cache entry is free after use. The problem > > is with computing the index of the free cache entry. > > > > The patch fixes a problem. > > > > Signed-off-by: Mirek Walukiewicz > > Acked by: Cristian Dumitrescu Applied, thanks > Mirek, identical issue is found at identical place in rte_table_hash_key8.c > and rte_table_hash_key32.c, would you please submit the same fix for those as well? Merged (Maciej's patch)