<div dir="ltr"><div>Please go ahead with the merge.</div><div><br></div><div>Thanks,</div><div>Kishore</div><div></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, Dec 3, 2026 at 8:12 AM Kevin Traynor <<a href="mailto:ktraynor@redhat.com">ktraynor@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
FYI, your patch has been queued to stable release 25.11.5<br>
<br>
Note it hasn't been pushed to <a href="http://dpdk.org/browse/dpdk-stable" rel="noreferrer" target="_blank">http://dpdk.org/browse/dpdk-stable</a> yet.<br>
It will be pushed if I get no objections before 12/08/26. So please<br>
shout if anyone has objections.<br>
<br>
Also note that after the patch there's a diff of the upstream commit vs the<br>
patch applied to the branch. This will indicate if there was any rebasing<br>
needed to apply to the stable branch. If there were code changes for rebasing<br>
(ie: not only metadata diffs), please double check that the rebase was<br>
correctly done.<br>
<br>
Queued patches are on a temporary branch at:<br>
<a href="https://github.com/kevintraynor/dpdk-stable" rel="noreferrer" target="_blank">https://github.com/kevintraynor/dpdk-stable</a><br>
<br>
This queued commit can be viewed at:<br>
<a href="https://github.com/kevintraynor/dpdk-stable/commit/2386376aca2cbd9e8c56f2a295aa77179e1ae6f7" rel="noreferrer" target="_blank">https://github.com/kevintraynor/dpdk-stable/commit/2386376aca2cbd9e8c56f2a295aa77179e1ae6f7</a><br>
<br>
Thanks.<br>
<br>
Kevin<br>
<br>
---<br>
>From 2386376aca2cbd9e8c56f2a295aa77179e1ae6f7 Mon Sep 17 00:00:00 2001<br>
From: Kishore Padmanabha <<a href="mailto:kishore.padmanabha@broadcom.com" target="_blank">kishore.padmanabha@broadcom.com</a>><br>
Date: Fri, 15 May 2026 12:13:03 -0400<br>
Subject: [PATCH] net/bnxt/tf_ulp: fix tunnel list memory corruption<br>
<br>
[ upstream commit 57c816b0841241de463eb43480ddbc4033c6f352 ]<br>
<br>
In ulp_app_tun_search_entry(), when a matching tunnel entry is found<br>
at index i, the reference count was incremented on<br>
tun_ent_list[free_entry] instead of tun_ent_list[i]. free_entry is -1<br>
when no unused slot precedes the match (always the case when the table<br>
is full), so this wrote before the start of the array; otherwise it<br>
bumped the count of an unused slot and left the matched entry's count<br>
unchanged. Use the matching index.<br>
<br>
Fixes: bdf4a3c6316b ("net/bnxt: support tunnel offload")<br>
<br>
Signed-off-by: Kishore Padmanabha <<a href="mailto:kishore.padmanabha@broadcom.com" target="_blank">kishore.padmanabha@broadcom.com</a>><br>
Signed-off-by: Manish Kurup <<a href="mailto:manish.kurup@broadcom.com" target="_blank">manish.kurup@broadcom.com</a>><br>
Signed-off-by: Mohammad Shuab Siddique <<a href="mailto:mohammad-shuab.siddique@broadcom.com" target="_blank">mohammad-shuab.siddique@broadcom.com</a>><br>
---<br>
 drivers/net/bnxt/tf_ulp/ulp_tun.c | 2 +-<br>
 1 file changed, 1 insertion(+), 1 deletion(-)<br>
<br>
diff --git a/drivers/net/bnxt/tf_ulp/ulp_tun.c b/drivers/net/bnxt/tf_ulp/ulp_tun.c<br>
index b90b4bf252..8ecdac0dcc 100644<br>
--- a/drivers/net/bnxt/tf_ulp/ulp_tun.c<br>
+++ b/drivers/net/bnxt/tf_ulp/ulp_tun.c<br>
@@ -34,5 +34,5 @@ ulp_app_tun_search_entry(struct bnxt_ulp_context *ulp_ctx,<br>
                                    sizeof(struct rte_flow_tunnel))) {<br>
                                *tun_entry =  &tun_ent_list[i];<br>
-                               tun_ent_list[free_entry].ref_cnt++;<br>
+                               tun_ent_list[i].ref_cnt++;<br>
                                return rc;<br>
                        }<br>
-- <br>
2.56.1<br>
<br>
---<br>
  Diff of the applied patch vs upstream commit (please double-check if non-empty:<br>
---<br>
--- -   2026-12-03 12:52:45.454131190 +0000<br>
+++ 0218-net-bnxt-tf_ulp-fix-tunnel-list-memory-corruption.patch        2026-12-03 12:52:39.189104966 +0000<br>
@@ -1 +1 @@<br>
-From 57c816b0841241de463eb43480ddbc4033c6f352 Mon Sep 17 00:00:00 2001<br>
+From 2386376aca2cbd9e8c56f2a295aa77179e1ae6f7 Mon Sep 17 00:00:00 2001<br>
@@ -5,0 +6,2 @@<br>
+[ upstream commit 57c816b0841241de463eb43480ddbc4033c6f352 ]<br>
+<br>
@@ -15 +16,0 @@<br>
-Cc: <a href="mailto:stable@dpdk.org" target="_blank">stable@dpdk.org</a><br>
<br>
</blockquote></div>