patch 'fib6: fix error code propagation on next hop update' has been queued to stable release 25.11.3

Kevin Traynor ktraynor at redhat.com
Tue Jul 28 17:55:39 CEST 2026


Hi,

FYI, your patch has been queued to stable release 25.11.3

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 08/01/26. 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/kevintraynor/dpdk-stable

This queued commit can be viewed at:
https://github.com/kevintraynor/dpdk-stable/commit/523265e673feaadff98e435f29bd11f43b39239a

Thanks.

Kevin

---
>From 523265e673feaadff98e435f29bd11f43b39239a Mon Sep 17 00:00:00 2001
From: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
Date: Fri, 5 Jun 2026 16:47:57 +0000
Subject: [PATCH] fib6: fix error code propagation on next hop update

[ upstream commit 3aca5f52b511aaa74b74f560738ec24fa4286d2d ]

When updating the next hop of an existing prefix, trie_modify() ignored
the return value of modify_dp() and always returned 0.  An out-of-range
next hop is rejected by modify_dp() with -EINVAL but was reported to
the caller as success. Return the actual result.

Fixes: c3e12e0f0354 ("fib: add dataplane algorithm for IPv6")

Signed-off-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
---
 lib/fib/trie.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/fib/trie.c b/lib/fib/trie.c
index fa5d9ec6b0..99272f45bd 100644
--- a/lib/fib/trie.c
+++ b/lib/fib/trie.c
@@ -601,5 +601,6 @@ trie_modify(struct rte_fib6 *fib, const struct rte_ipv6_addr *ip,
 			if (ret == 0)
 				rte_rib6_set_nh(node, next_hop);
-			return 0;
+
+			return ret;
 		}
 
-- 
2.55.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-07-28 16:54:51.106564999 +0100
+++ 0009-fib6-fix-error-code-propagation-on-next-hop-update.patch	2026-07-28 16:54:50.755393629 +0100
@@ -1 +1 @@
-From 3aca5f52b511aaa74b74f560738ec24fa4286d2d Mon Sep 17 00:00:00 2001
+From 523265e673feaadff98e435f29bd11f43b39239a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 3aca5f52b511aaa74b74f560738ec24fa4286d2d ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org



More information about the stable mailing list