aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2023-04-23 18:46:02 +0100
committerDaniel Golle <daniel@makrotopia.org>2023-04-24 03:16:26 +0100
commit6d33afd2b6b0b94c406141884410fee3dc4e08c3 (patch)
treee8b5f458785994c0e76c291c710ab79aaa8dc3b0 /README.md
parent0601f7134d5f86f75997453eb30590b0f578cbfb (diff)
downloadupstream-6d33afd2b6b0b94c406141884410fee3dc4e08c3.tar.gz
upstream-6d33afd2b6b0b94c406141884410fee3dc4e08c3.tar.bz2
upstream-6d33afd2b6b0b94c406141884410fee3dc4e08c3.zip
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>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions