patch 'net/ixgbe: fix EEPROM callback checks' has been queued to stable release 24.11.9

luca.boccassi at gmail.com luca.boccassi at gmail.com
Mon Nov 16 23:51:44 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 11/18/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/b5ea2445ca4f117fab656bbc863b46af83dac21a

Thanks.

Luca Boccassi

---
>From b5ea2445ca4f117fab656bbc863b46af83dac21a Mon Sep 17 00:00:00 2001
From: Anatoly Burakov <anatoly.burakov at intel.com>
Date: Fri, 30 Oct 2026 10:02:00 +0000
Subject: [PATCH] net/ixgbe: fix EEPROM callback checks

[ upstream commit f77d778dbdfef588c8a8e5792188f5ab0b5a0013 ]

The NULL check added for the E610 EEPROM write path was placed in the
EEPROM read handler, so a missing write callback rejects reads while the
write handler still dereferences it. Check the read callback in the read
handler and move the write callback check to the write handler.

Fixes: 04c3e44b4aee ("net/ixgbe: fix null dereference on EEPROM write for E610")

Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
---
 drivers/net/ixgbe/ixgbe_ethdev.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
index 6375a2784c..2424756957 100644
--- a/drivers/net/ixgbe/ixgbe_ethdev.c
+++ b/drivers/net/ixgbe/ixgbe_ethdev.c
@@ -7462,7 +7462,7 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
 	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
 		return -E_RTE_SECONDARY;
 
-	if (eeprom->ops.write_buffer == NULL)
+	if (eeprom->ops.read_buffer == NULL)
 		return -ENOTSUP;
 
 	first = in_eeprom->offset >> 1;
@@ -7493,6 +7493,9 @@ ixgbe_set_eeprom(struct rte_eth_dev *dev,
 	if (rte_eal_process_type() != RTE_PROC_PRIMARY)
 		return -E_RTE_SECONDARY;
 
+	if (eeprom->ops.write_buffer == NULL)
+		return -ENOTSUP;
+
 	first = in_eeprom->offset >> 1;
 	length = in_eeprom->length >> 1;
 	if ((first > hw->eeprom.word_size) ||
-- 
2.47.3

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2026-11-16 22:52:17.705357050 +0000
+++ 0030-net-ixgbe-fix-EEPROM-callback-checks.patch	2026-11-16 22:52:16.460232742 +0000
@@ -1 +1 @@
-From f77d778dbdfef588c8a8e5792188f5ab0b5a0013 Mon Sep 17 00:00:00 2001
+From b5ea2445ca4f117fab656bbc863b46af83dac21a Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit f77d778dbdfef588c8a8e5792188f5ab0b5a0013 ]
+
@@ -12 +13,0 @@
-Cc: stable at dpdk.org
@@ -17 +18 @@
- drivers/net/intel/ixgbe/ixgbe_ethdev.c | 5 ++++-
+ drivers/net/ixgbe/ixgbe_ethdev.c | 5 ++++-
@@ -20,5 +21,5 @@
-diff --git a/drivers/net/intel/ixgbe/ixgbe_ethdev.c b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-index 5137663a61..7592031217 100644
---- a/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-+++ b/drivers/net/intel/ixgbe/ixgbe_ethdev.c
-@@ -7014,7 +7014,7 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
+diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c
+index 6375a2784c..2424756957 100644
+--- a/drivers/net/ixgbe/ixgbe_ethdev.c
++++ b/drivers/net/ixgbe/ixgbe_ethdev.c
+@@ -7462,7 +7462,7 @@ ixgbe_get_eeprom(struct rte_eth_dev *dev,
@@ -33 +34 @@
-@@ -7045,6 +7045,9 @@ ixgbe_set_eeprom(struct rte_eth_dev *dev,
+@@ -7493,6 +7493,9 @@ ixgbe_set_eeprom(struct rte_eth_dev *dev,


More information about the stable mailing list