patch 'net/sfc: fix shared adapter pointer in secondary process' has been queued to stable release 25.11.5
Kevin Traynor
ktraynor at redhat.com
Thu Dec 3 13:59:28 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/b9b7162dab4a8602cfea14245be973b7d6b58752
Thanks.
Kevin
---
>From b9b7162dab4a8602cfea14245be973b7d6b58752 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 6be98c49d0..d75f770ed6 100644
--- a/drivers/net/sfc/sfc_ethdev.c
+++ b/drivers/net/sfc/sfc_ethdev.c
@@ -3225,4 +3225,5 @@ 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;
--
2.56.1
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-12-03 12:52:40.530369043 +0000
+++ 0042-net-sfc-fix-shared-adapter-pointer-in-secondary-proc.patch 2026-12-03 12:52:39.043938585 +0000
@@ -1 +1 @@
-From d7462799d4d91240e67492dc5cf476fb8aa6922a Mon Sep 17 00:00:00 2001
+From b9b7162dab4a8602cfea14245be973b7d6b58752 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 6be98c49d0..d75f770ed6 100644
More information about the stable
mailing list