immortalwrt/target/linux
Daniel Golle 6d33afd2b6 kernel: net: phy: realtek: fix NULL pointer dereference
The previous attempt to replace an open coded paged read in the RealTek
Ethernet PHY driver was too naive and resulted in breaking the r8169
PCIe Ethernet driver which also makes use of the RealTek Ethernet PHY
driver.
Fix this by instead of using the (not yet populated) paged operations
rather use rtl821x_write_page and protect the whole paged read operation
using the MDIO bus mutex.

Fixes: 998b973157 ("kernel: net: phy: realtek: improve RealTek 2.5G PHY driver")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2023-04-24 03:16:26 +01:00
..
airoha kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
apm821xx kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
archs38 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
armvirt
at91 kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
ath25 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
ath79 ath79: add support for Alcatel HH40V 2023-04-23 19:32:18 +02:00
bcm27xx kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
bcm47xx kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
bcm53xx kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
bcm63xx bcm63xx: kernel: power cycle the bcm6358 USB PLL 2023-03-04 20:09:49 +01:00
bcm4908 bcm4908: switch to Kernel 5.15 by default 2023-04-10 21:21:03 +02:00
bmips bmips: shg2500: add BCM4360 fallback SPROM 2023-04-23 12:19:02 +02:00
gemini gemini: add generic subtarget 2022-12-23 19:44:20 +01:00
generic kernel: net: phy: realtek: fix NULL pointer dereference 2023-04-24 03:16:26 +01:00
imx cypress-nvram: consolidate NVRAM packages 2022-11-16 20:14:13 +01:00
ipq40xx ipq40xx: convert AP-365 to DSA 2023-04-15 14:15:42 +02:00
ipq806x kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
ipq807x kernel: backport NVMEM patch for U-Boot env data "ethaddr" cell 2023-04-06 12:21:29 +02:00
kirkwood kirkwood: fix Linksys upgrade, restore config step 2023-04-11 12:21:15 +02:00
lantiq lantiq: fix lzma-loader for Netgear DGN 3500(B) 2023-04-02 22:33:55 +02:00
layerscape kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
malta treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
mediatek mediatek: add support for TP-Link TL-XDR4288/608x 2023-04-22 04:10:19 +01:00
mpc85xx mpc85xx: refresh patches 2023-04-08 14:41:01 +02:00
mvebu kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
mxs mxs: switch default kernel to 5.15 2023-01-30 11:13:14 +01:00
octeon octeon: switch to Kernel 5.15 by default 2023-04-08 00:47:12 +02:00
octeontx kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
omap treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
oxnas treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
qoriq treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
ramips ramips: fix green LED for D-Link DAP-X1860 2023-04-24 03:06:39 +02:00
realtek kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
rockchip treewide: update NVMEM symbols 2023-01-07 01:30:31 +01:00
sunxi sunxi: enable CONFIG_NVMEM_SYSFS 2023-02-26 22:22:48 +01:00
tegra tegra: switch to Kernel 5.15 by default 2023-04-08 00:30:22 +02:00
uml treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
x86 x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE 2023-03-20 22:44:20 +01:00
zynq zynq: remove kconfig for 5.10 2023-01-30 18:01:14 +08:00
Makefile