diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-16 17:16:01 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-04-22 16:56:44 -0700 |
commit | 4c8925cb9db158c812e1e11f3e74b945df7c9801 (patch) | |
tree | b9baf082fd96a706d7d67dd9f683357a1e88415d /scripts/gdb/linux/pgtable.py | |
parent | c03a49f3093a4903c8a93c8b5c9a297b5343b169 (diff) | |
download | linux-stable-4c8925cb9db158c812e1e11f3e74b945df7c9801.tar.gz linux-stable-4c8925cb9db158c812e1e11f3e74b945df7c9801.tar.bz2 linux-stable-4c8925cb9db158c812e1e11f3e74b945df7c9801.zip |
net: phylink: fix suspend/resume with WoL enabled and link down
When WoL is enabled, we update the software state in phylink to
indicate that the link is down, and disable the resolver from
bringing the link back up.
On resume, we attempt to bring the overall state into consistency
by calling the .mac_link_down() method, but this is wrong if the
link was already down, as phylink strictly orders the .mac_link_up()
and .mac_link_down() methods - and this would break that ordering.
Fixes: f97493657c63 ("net: phylink: add suspend/resume support")
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1u55Qf-0016RN-PA@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/pgtable.py')
0 files changed, 0 insertions, 0 deletions