patch 'bpf: avoid uninitialized data warning' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 14:02:36 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.5
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 12/08/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/4108b8c27c421f7b175ca56d849c18e0f9df4e8b
Thanks.
Kevin
---
>From 4108b8c27c421f7b175ca56d849c18e0f9df4e8b Mon Sep 17 00:00:00 2001
From: Stephen Hemminger <stephen at networkplumber.org>
Date: Thu, 27 Aug 2026 14:41:49 -0700
Subject: [PATCH] bpf: avoid uninitialized data warning
[ upstream commit 5c13ad91908ba53e380e8b0f473a6d0183185a11 ]
Coverity complains uninitialized use of structure.
Coverity issue: 504611
Fixes: 17509d474226 ("bpf/validate: fix BPF_ADD of pointer to a scalar")
Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
Acked-by: Marat Khalili <marat.khalili at huawei.com>
---
lib/bpf/bpf_validate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bpf/bpf_validate.c b/lib/bpf/bpf_validate.c
index eda08e53c6..b218f84e70 100644
--- a/lib/bpf/bpf_validate.c
+++ b/lib/bpf/bpf_validate.c
@@ -240,5 +240,5 @@ static void
eval_add(struct bpf_reg_val *rd, const struct bpf_reg_val *rs, uint64_t msk)
{
- struct bpf_reg_val rs_buf = { 0 };
+ struct bpf_reg_val rs_buf = { .v.type = RTE_BPF_ARG_RAW };
struct bpf_reg_val rv;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:45.777725990 +0000
+++ 0230-bpf-avoid-uninitialized-data-warning.patch 2026-12-03 12:52:39.192551107 +0000
@@ -1 +1 @@
-From 5c13ad91908ba53e380e8b0f473a6d0183185a11 Mon Sep 17 00:00:00 2001
+From 4108b8c27c421f7b175ca56d849c18e0f9df4e8b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5c13ad91908ba53e380e8b0f473a6d0183185a11 ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index f9960088a2..4641ef2fc9 100644
+index eda08e53c6..b218f84e70 100644
@@ -22 +23 @@
-@@ -660,5 +660,5 @@ static void
+@@ -240,5 +240,5 @@ static void
@@ -25 +26 @@
-- struct bpf_reg_val rs_buf;
+- struct bpf_reg_val rs_buf = { 0 };
More information about the stable
mailing list