patch 'net/ice: fix storing field offset arg' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:50:40 CET 2026
Hi,
FYI, your patch has been queued to stable release 24.11.9
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 10/29/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/bluca/dpdk-stable
This queued commit can be viewed at:
https://github.com/bluca/dpdk-stable/commit/7def193a9e0bc09f98043be7e815abbb985d1463
Thanks.
Luca Boccassi
---
>From 7def193a9e0bc09f98043be7e815abbb985d1463 Mon Sep 17 00:00:00 2001
From: Bruce Richardson <bruce.richardson at intel.com>
Date: Mon, 14 Sep 2026 16:45:59 +0100
Subject: [PATCH] net/ice: fix storing field offset arg
[ upstream commit 9ff9c3144f7c2e70c5e757af483d922d3eb56514 ]
The field offset argument type inside ice driver is of "int" type, but
when parsing and storing the value from a devarg, a uint8_t type is
used, leading to 3 bytes being potentially uninitialized. Fix this by
storing to an int type instead.
Bugzilla ID: 2038
Fixes: df539aaf35cb ("net/ice: refactor flex descriptor protocol field extraction")
Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
---
drivers/net/ice/ice_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
index 75933428cb4..28e0c597311 100644
--- a/drivers/net/ice/ice_ethdev.c
+++ b/drivers/net/ice/ice_ethdev.c
@@ -659,7 +659,7 @@ static int
handle_field_offs_arg(__rte_unused const char *key, const char *value,
void *offs_args)
{
- uint8_t *offset = offs_args;
+ int *offset = offs_args;
if (value == NULL || offs_args == NULL)
return -EINVAL;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:59.315972519 +0000
+++ 0146-net-ice-fix-storing-field-offset-arg.patch 2026-10-27 11:43:53.678064525 +0000
@@ -1 +1 @@
-From 9ff9c3144f7c2e70c5e757af483d922d3eb56514 Mon Sep 17 00:00:00 2001
+From 7def193a9e0bc09f98043be7e815abbb985d1463 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 9ff9c3144f7c2e70c5e757af483d922d3eb56514 ]
+
@@ -13 +14,0 @@
-Cc: stable at dpdk.org
@@ -18 +19 @@
- drivers/net/intel/ice/ice_ethdev.c | 2 +-
+ drivers/net/ice/ice_ethdev.c | 2 +-
@@ -21,5 +22,5 @@
-diff --git a/drivers/net/intel/ice/ice_ethdev.c b/drivers/net/intel/ice/ice_ethdev.c
-index 0caae39f29..bc7e0fb1e5 100644
---- a/drivers/net/intel/ice/ice_ethdev.c
-+++ b/drivers/net/intel/ice/ice_ethdev.c
-@@ -742,7 +742,7 @@ static int
+diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c
+index 75933428cb4..28e0c597311 100644
+--- a/drivers/net/ice/ice_ethdev.c
++++ b/drivers/net/ice/ice_ethdev.c
+@@ -659,7 +659,7 @@ static int
More information about the stable
mailing list