From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 782E7A0C52 for ; Mon, 25 Oct 2021 19:15:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 63D3E41169; Mon, 25 Oct 2021 19:15:01 +0200 (CEST) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id E7AC740E32; Mon, 25 Oct 2021 19:14:59 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 800A75C01F3; Mon, 25 Oct 2021 13:14:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 25 Oct 2021 13:14:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= RBfFgBU2Vwp6Lp+pVoj1DqXSs6NlLcLwjtGPksHhVKU=; b=XlOpO+GYsQZf3fKG Z2CcH22mtkvIPZtMxbWuTrqxZt4X/EFOIpPh122AGcEmSYXXbSBItISksp6rol+u I2C26rkxnolWx7iqx+0NsH1KLcbzGS8MNf8YJjHZxoh3fWcVicV5FWvEoMtXJinu MXkDlenJhS2oNirnd9EsIINOsBkY4QgK1iuil/NUrjZqmy9KoFyHKo1X8Jrue+W/ nBSrmeDQgnmHekWkuGdqUto+2KaJHjwGUEfshogfoXmtny0V+1OD9CnGQpEu/aO0 5eATnqvf1ktre9WH+pCYeJl7p4ku11YZ9pQeSPLfPTm2ZwDcuM1pTPYlwq4PxtEp CP0/NA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=RBfFgBU2Vwp6Lp+pVoj1DqXSs6NlLcLwjtGPksHhV KU=; b=eeKS9ULThwxt4Z8Mwzu47QxTg4jQVn5aH2/3NeZ+MJvGg532wSCKiuBcB d0epiYRTQEvjBM7Ued5FyK872V2Bjx3MPGR8+Up2RULbT6d9L6h30LQyr0ZOUJKq w0ldEqLZCF3Iu29+GNF1UgUOSVHVkZQcAdBP60i8P431ecvaoc/JS4+VoeqWtsqH c52iUuvtx9H+uSugN1TCWI0XqU6/gQcMMHbPkusxCvxGMsuMR6Ueuv4xCFNPmG1I 259P/BymtjjYwVRSQRUXMD7Wny4vWXtlSANHJrTAFUEf79Mh3VnJwBsg+7PtsvFO v3xextKMdrmUgRIpLfcEvLf8W5ktw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvdefhedguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc ggtffrrghtthgvrhhnpedugefgvdefudfftdefgeelgffhueekgfffhfeujedtteeutdej ueeiiedvffegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 25 Oct 2021 13:14:58 -0400 (EDT) From: Thomas Monjalon To: Vladimir Medvedkin Cc: dev@dpdk.org, ohilyard@iol.unh.edu, stable@dpdk.org Date: Mon, 25 Oct 2021 19:14:57 +0200 Message-ID: <1647133.GnBLKHUvZ6@thomas> In-Reply-To: <1630943672-362916-1-git-send-email-vladimir.medvedkin@intel.com> References: <1630943672-362916-1-git-send-email-vladimir.medvedkin@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] rib: fix the IPv6 depth mask X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" 06/09/2021 17:54, Vladimir Medvedkin: > Fixes: 03b8372a9a73 ("rib: fix max depth IPv6 lookup") > Cc: ohilyard@iol.unh.edu > Cc: stable@dpdk.org > > Signed-off-by: Vladimir Medvedkin An explanation would have been appreciated. > - index = (depth & (UINT8_MAX - 1)) / CHAR_BIT; > + index = (depth & INT8_MAX) / CHAR_BIT; Applied, thanks.