patch 'net/sfc: fix shared adapter pointer in secondary process' has been queued to stable release 24.11.9
luca.boccassi at gmail.com
luca.boccassi at gmail.com
Tue Oct 27 12:48: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/fed0c62c081830dded1c07e8541a1598836ba35b
Thanks.
Luca Boccassi
---
>From fed0c62c081830dded1c07e8541a1598836ba35b Mon Sep 17 00:00:00 2001
From: Ivan Malov <ivan.malov at arknetworks.am>
Date: Mon, 24 Aug 2026 20:30:32 +0400
Subject: [PATCH] net/sfc: fix shared adapter pointer in secondary process
[ upstream commit d7462799d4d91240e67492dc5cf476fb8aa6922a ]
Add the missing assignment to preclude NULL pointer dereference that has
happened in the context of the secondary process at the dev close stage.
Fixes: 5313b441d8ae ("net/sfc: separate adapter primary process and shared data")
Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
Reviewed-by: Viacheslav Galaktionov <viacheslav.galaktionov at arknetworks.am>
---
drivers/net/sfc/sfc_ethdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/sfc/sfc_ethdev.c b/drivers/net/sfc/sfc_ethdev.c
index 21e39e5981d..e5ee2ada874 100644
--- a/drivers/net/sfc/sfc_ethdev.c
+++ b/drivers/net/sfc/sfc_ethdev.c
@@ -3044,6 +3044,7 @@ sfc_eth_dev_secondary_init(struct rte_eth_dev *dev, uint32_t logtype_main)
sap->dp_rx = dp_rx;
sap->dp_tx = dp_tx;
+ sap->shared = sas;
dev->process_private = sap;
dev->rx_pkt_burst = dp_rx->pkt_burst;
--
2.47.3
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-10-27 11:43:54.764280653 +0000
+++ 0026-net-sfc-fix-shared-adapter-pointer-in-secondary-proc.patch 2026-10-27 11:43:53.522059697 +0000
@@ -1 +1 @@
-From d7462799d4d91240e67492dc5cf476fb8aa6922a Mon Sep 17 00:00:00 2001
+From fed0c62c081830dded1c07e8541a1598836ba35b Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit d7462799d4d91240e67492dc5cf476fb8aa6922a ]
+
@@ -10 +11,0 @@
-Cc: stable at dpdk.org
@@ -19 +20 @@
-index 6be91789cf..13619b4b9a 100644
+index 21e39e5981d..e5ee2ada874 100644
@@ -22 +23 @@
-@@ -3224,6 +3224,7 @@ sfc_eth_dev_secondary_init(struct rte_eth_dev *dev, uint32_t logtype_main)
+@@ -3044,6 +3044,7 @@ sfc_eth_dev_secondary_init(struct rte_eth_dev *dev, uint32_t logtype_main)
More information about the stable
mailing list