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 07624A0C41 for ; Tue, 30 Nov 2021 17:41:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 00B95410F7; Tue, 30 Nov 2021 17:41:31 +0100 (CET) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id 4D6AC411CB for ; Tue, 30 Nov 2021 17:41:29 +0100 (CET) Received: from mail-ed1-f70.google.com (mail-ed1-f70.google.com [209.85.208.70]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 283923FFF1 for ; Tue, 30 Nov 2021 16:41:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1638290488; bh=pw1B8hqR66eADEcmUEzRowk90L6M3nl+lc2J5zTxkhg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=a+Uc4b1wi4B4PU0FXCz5nT6cJLpvnfzDWnYdehS1xC+aPbFeTgreh69EpHYBp7Cbd cXEv4obrwfg5Pt/WiPSJitlmGjCXoNvnYcxT2f3WF3Sdb4jj5XKwCWi/JFdABOTjm6 +51YcFCOeQek4cFgnDGY95nx2P7/8rpWmIfQoeqPntwaJO4vL1AMXUC+0QitdmVyqu Ptl3Ydt1cGkLOlLHpVRb9v7WmhUcYpOdcGn6/psfkBWfUuTS++JaE3mkPZTN8O8vER bSgotiPJ+ftPasG6khI3XDqFa/UuaDDb60AnKnZYFYSz//MWBfwYu6fIE/67J8bG67 O1KD5GPwsr6Xg== Received: by mail-ed1-f70.google.com with SMTP id w5-20020a05640234c500b003f1b9ab06d2so5326435edc.13 for ; Tue, 30 Nov 2021 08:41:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pw1B8hqR66eADEcmUEzRowk90L6M3nl+lc2J5zTxkhg=; b=N3IRpN0++QUYIQWkAQONbDEHxXdtFR9zmA8xwNYDe/5rz6Qsq+wDKwiDM7G37RtfX2 xNRufHpJYn0au5nv1cDJNgAelBKA4+X5B7iw6qpbrU+Cq7a6d7/XIMkDbuXBi6Uhohxe SqrnsiDvvgqBDYn+arleyuX8LbKLu/fXCOk5Qyh43Z796S7dtj8P+dfAFK5SdfpoKQaL gIfGyJZorwfJjDkKcEgkIRrH/jB3B4PeV9jeUK7stZ+cOtceuiNTQY0rfNIElqBQfhvO JdDzILKoZxIEonFF8y2Ee4es8HI6X9CB5IzLg0OPTVpW+KGMCamV/9kuWR3q1EpXfE0p EK2w== X-Gm-Message-State: AOAM531xq9GMTQADBgT0ZC0yV437w00sCIk71DtAvpSfhbgekRDpl/+8 k9K1+Jt4oos2pxDBuh5IhAdvUO8b3fSwRmIURpmogMZv5EiJWEvpe+2tc2zwickNK8f8rkmsC7Z Ri/mxT0eo/OTRXuv+Z2QlSKf8 X-Received: by 2002:a05:6402:42d4:: with SMTP id i20mr99177edc.372.1638290487832; Tue, 30 Nov 2021 08:41:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJylJNU25BhrGctaWr+naaafs+uszqJZ7rIixIMzkPFvmkiET5GAhV5t+0o9ckgU0WvDMoSq4w== X-Received: by 2002:a05:6402:42d4:: with SMTP id i20mr99152edc.372.1638290487677; Tue, 30 Nov 2021 08:41:27 -0800 (PST) Received: from localhost.localdomain ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id k21sm11317473edo.87.2021.11.30.08.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Nov 2021 08:41:27 -0800 (PST) From: christian.ehrhardt@canonical.com To: Vladimir Medvedkin Cc: dpdk stable Subject: patch 'rib: fix IPv6 depth mask' has been queued to stable release 19.11.11 Date: Tue, 30 Nov 2021 17:35:08 +0100 Message-Id: <20211130163605.2460997-104-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> References: <20211130163605.2460997-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 19.11.11 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before December 10th 2021. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/8029c086667a137bf01a8f3c55599245008fc66a Thanks. Christian Ehrhardt --- >From 8029c086667a137bf01a8f3c55599245008fc66a Mon Sep 17 00:00:00 2001 From: Vladimir Medvedkin Date: Mon, 6 Sep 2021 16:54:32 +0100 Subject: [PATCH] rib: fix IPv6 depth mask [ upstream commit 97e2ae4c58f9c8741ae920415e4c3952373ecb51 ] Fixes: 03b8372a9a73 ("rib: fix max depth IPv6 lookup") Signed-off-by: Vladimir Medvedkin --- lib/librte_rib/rte_rib6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_rib/rte_rib6.c b/lib/librte_rib/rte_rib6.c index 6d265c2773..4cf12168dd 100644 --- a/lib/librte_rib/rte_rib6.c +++ b/lib/librte_rib/rte_rib6.c @@ -88,7 +88,7 @@ get_dir(const uint8_t ip[RTE_RIB6_IPV6_ADDR_SIZE], uint8_t depth) * is incremented in blocks of 8 (1 byte). This means the last * 3 bits are irrelevant to what the index of ip should be. */ - index = (depth & (UINT8_MAX - 1)) / CHAR_BIT; + index = (depth & INT8_MAX) / CHAR_BIT; /* * msk is the bitmask used to extract the bit used to decide the -- 2.34.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-11-30 16:50:11.872175626 +0100 +++ 0104-rib-fix-IPv6-depth-mask.patch 2021-11-30 16:50:05.906874381 +0100 @@ -1 +1 @@ -From 97e2ae4c58f9c8741ae920415e4c3952373ecb51 Mon Sep 17 00:00:00 2001 +From 8029c086667a137bf01a8f3c55599245008fc66a Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 97e2ae4c58f9c8741ae920415e4c3952373ecb51 ] + @@ -7 +8,0 @@ -Cc: stable@dpdk.org @@ -11 +12 @@ - lib/rib/rte_rib6.c | 2 +- + lib/librte_rib/rte_rib6.c | 2 +- @@ -14,4 +15,4 @@ -diff --git a/lib/rib/rte_rib6.c b/lib/rib/rte_rib6.c -index 96424e9c9f..b00c7fbf5a 100644 ---- a/lib/rib/rte_rib6.c -+++ b/lib/rib/rte_rib6.c +diff --git a/lib/librte_rib/rte_rib6.c b/lib/librte_rib/rte_rib6.c +index 6d265c2773..4cf12168dd 100644 +--- a/lib/librte_rib/rte_rib6.c ++++ b/lib/librte_rib/rte_rib6.c