kernel_samsung_a53x/drivers/net/usb
Oleksij Rempel 3029950cca net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration
[ Upstream commit e863ff806f72098bccaf8fa89c80d9ad6187c3b0 ]

Validate Wake-on-LAN (WoL) options in `lan78xx_set_wol` before calling
`usb_autopm_get_interface`. This prevents USB autopm refcounting issues
and ensures the adapter can properly enter autosuspend when invalid WoL
options are provided.

Fixes: eb9ad088f966 ("lan78xx: Check for supported Wake-on-LAN modes")
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://patch.msgid.link/20241118140351.2398166-1-o.rempel@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-12-17 13:24:15 +01:00
..
aqc111.c
aqc111.h
asix.h
asix_common.c
asix_devices.c
ax88172a.c
ax88179_178a.c
catc.c
cdc-phonet.c
cdc_eem.c
cdc_ether.c
cdc_mbim.c
cdc_ncm.c
cdc_subset.c
ch9200.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
cx82310_eth.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
dm9601.c
gl620a.c
hso.c
huawei_cdc_ncm.c
int51x1.c
ipheth.c
kalmia.c
kaweth.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
Kconfig
lan78xx.c net: usb: lan78xx: Fix refcounting and autosuspend on invalid WoL configuration 2024-12-17 13:24:15 +01:00
lan78xx.h
lg-vl600.c
Makefile
mcs7830.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
net1080.c
pegasus.c
pegasus.h
plusb.c
qmi_wwan.c net: usb: qmi_wwan: add Quectel RG650V 2024-12-17 13:23:58 +01:00
r8152.c
rndis_host.c
rtl8150.c
sierra_net.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
smsc75xx.c
smsc75xx.h
smsc95xx.c
smsc95xx.h
sr9700.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
sr9700.h
sr9800.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
sr9800.h
usbnet.c Revert "net: usb: don't write directly to netdev->dev_addr" 2024-11-24 00:23:41 +01:00
zaurus.c