[PATCH v2 01/12] net/r8169: fix NULL pointer dereference in rtl8168fp_ops

Stephen Hemminger stephen at networkplumber.org
Wed Feb 11 22:42:35 CET 2026


On Tue, 10 Feb 2026 13:55:00 +0800
Howard Wang <howard_wang at realsil.com.cn> wrote:

> Fixes: d9ee71b5f1bc ("net/r8169: support RTL8168 series")
> 
> Signed-off-by: Howard Wang <howard_wang at realsil.com.cn>
> ---

That is much to short a message for a critical fix.
How about this (AI generated) message. Can I add that during
merge?

Subject: [PATCH v2 01/12] net/r8169: fix crash in RTL8168FP init

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")



More information about the dev mailing list