kernel_samsung_a53x/drivers/net/ethernet/realtek
Heiner Kallweit 8b6de5221d r8169: fix deadlock on RTL8125 in jumbo mtu mode
[ Upstream commit 59d395ed606d8df14615712b0cdcdadb2d962175 ]

The original change results in a deadlock if jumbo mtu mode is used.
Reason is that the phydev lock is held when rtl_reset_work() is called
here, and rtl_jumbo_config() calls phy_start_aneg() which also tries
to acquire the phydev lock. Fix this by calling rtl_reset_work()
asynchronously.

Fixes: 621735f59064 ("r8169: fix rare issue with broken rx after link-down on RTL8125")
Reported-by: Ian Chen <free122448@hotmail.com>
Tested-by: Ian Chen <free122448@hotmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://lore.kernel.org/r/caf6a487-ef8c-4570-88f9-f47a659faf33@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:11:17 +01:00
..
8139cp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
8139too.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
atp.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_firmware.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_firmware.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
r8169_main.c r8169: fix deadlock on RTL8125 in jumbo mtu mode 2024-11-18 12:11:17 +01:00
r8169_phy_config.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00