openwrt/target
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
..
imagebuilder imagebuilder: allow to specific ROOTFS_PARTSIZE 2023-03-14 19:00:47 +01:00
linux kernel: net: phy: realtek: fix NULL pointer dereference 2023-04-24 03:16:26 +01:00
llvm-bpf llvm-bpf: fix rebuild check for generating tarball 2021-11-26 11:37:19 +01:00
sdk sdk: expose PATENTED an NLS build options 2023-03-05 18:31:21 +01:00
toolchain toolchain: wrapper.sh: use --rpath-link 2023-02-12 10:55:06 -03:00
Config.in base-files: add eMMC sysupgrade support 2021-12-02 20:42:58 +00:00
Makefile tools/llvm-bpf: move tarball packing to target/llvm-bpf 2021-11-22 12:00:40 +01:00