patch 'net/r8169: fix crash in RTL8168FP init' has been queued to stable release 25.11.1
Kevin Traynor
ktraynor at redhat.com
Thu Feb 26 14:10:18 CET 2026
Hi,
FYI, your patch has been queued to stable release 25.11.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 03/02/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/66eb0cd0de02c7bcca11c0903296ac576c3505c2
Thanks.
Kevin
---
>From 66eb0cd0de02c7bcca11c0903296ac576c3505c2 Mon Sep 17 00:00:00 2001
From: Howard Wang <howard_wang at realsil.com.cn>
Date: Fri, 13 Feb 2026 11:20:06 +0800
Subject: [PATCH] net/r8169: fix crash in RTL8168FP init
[ upstream commit 5887ff7505a4d599b2e971f42962156f2123a158 ]
The rtl8168fp_ops structure was missing the hw_phy_mcu_config function
pointer, causing a NULL pointer dereference during device initialization
when the driver attempts to configure the PHY microcontroller.
Add hw_phy_mcu_config_8168fp() as a no-op function since the RTL8168FP
does not require PHY MCU configuration. This matches the pattern used
by other chip variants that don't need PHY MCU updates.
Fixes: d9ee71b5f1bc ("net/r8169: support RTL8168 series")
Signed-off-by: Howard Wang <howard_wang at realsil.com.cn>
---
drivers/net/r8169/base/rtl8168fp.c | 1 +
drivers/net/r8169/base/rtl8168fp.h | 1 +
drivers/net/r8169/base/rtl8168fp_mcu.c | 6 ++++++
3 files changed, 8 insertions(+)
diff --git a/drivers/net/r8169/base/rtl8168fp.c b/drivers/net/r8169/base/rtl8168fp.c
index b8a058bbd9..9aa3cabeb8 100644
--- a/drivers/net/r8169/base/rtl8168fp.c
+++ b/drivers/net/r8169/base/rtl8168fp.c
@@ -193,3 +193,4 @@ const struct rtl_hw_ops rtl8168fp_ops = {
.hw_phy_config = hw_phy_config_8168fp,
.hw_mac_mcu_config = hw_mac_mcu_config_8168fp,
+ .hw_phy_mcu_config = hw_phy_mcu_config_8168fp,
};
diff --git a/drivers/net/r8169/base/rtl8168fp.h b/drivers/net/r8169/base/rtl8168fp.h
index 4613fe9a98..194f14af4e 100644
--- a/drivers/net/r8169/base/rtl8168fp.h
+++ b/drivers/net/r8169/base/rtl8168fp.h
@@ -11,4 +11,5 @@ extern const struct rtl_hw_ops rtl8168fp_ops;
void hw_mac_mcu_config_8168fp(struct rtl_hw *hw);
+void hw_phy_mcu_config_8168fp(struct rtl_hw *hw __rte_unused);
#endif
diff --git a/drivers/net/r8169/base/rtl8168fp_mcu.c b/drivers/net/r8169/base/rtl8168fp_mcu.c
index 839dcfde61..7757e5f448 100644
--- a/drivers/net/r8169/base/rtl8168fp_mcu.c
+++ b/drivers/net/r8169/base/rtl8168fp_mcu.c
@@ -269,2 +269,8 @@ hw_mac_mcu_config_8168fp(struct rtl_hw *hw)
}
}
+
+void
+hw_phy_mcu_config_8168fp(struct rtl_hw *hw __rte_unused)
+{
+ /* Do nothing */
+}
--
2.53.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2026-02-26 10:16:52.360385847 +0000
+++ 0136-net-r8169-fix-crash-in-RTL8168FP-init.patch 2026-02-26 10:16:47.207556544 +0000
@@ -1 +1 @@
-From 5887ff7505a4d599b2e971f42962156f2123a158 Mon Sep 17 00:00:00 2001
+From 66eb0cd0de02c7bcca11c0903296ac576c3505c2 Mon Sep 17 00:00:00 2001
@@ -5,0 +6,2 @@
+[ upstream commit 5887ff7505a4d599b2e971f42962156f2123a158 ]
+
@@ -15 +16,0 @@
-Cc: stable at dpdk.org
More information about the stable
mailing list