]> www.infradead.org Git - users/dwmw2/linux.git/commit
Merge branch 'fix-missing-rtnl-lock-in-suspend-path'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jan 2025 10:23:32 +0000 (11:23 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 30 Jan 2025 10:23:32 +0000 (11:23 +0100)
commit3effcc04d886eda3c302d8c8b89bcaa15875e953
tree5d7596b980c6c75a37c45f56f22102f14c799cf6
parentda5ca229b62520fe6a2c7f7b2e610b19cd83828d
parentb95102215a8d0987789715ce11c0d4ec031cbfbe
Merge branch 'fix-missing-rtnl-lock-in-suspend-path'

Kory Maincent says:

====================
Fix missing rtnl lock in suspend path

Fix the suspend path by ensuring the rtnl lock is held where required.
Calls to open, close and WOL operations must be performed under the
rtnl lock to prevent conflicts with ongoing ndo operations.

Discussion about this issue can be found here:
https://lore.kernel.org/netdev/20250120141926.1290763-1-kory.maincent@bootlin.com/

While working on the ravb fix, it was discovered that the sh_eth driver
has the same issue. This patch series addresses both drivers.

I do not have access to hardware for either of these MACs, so it would
be great if maintainers or others with the relevant boards could test
these fixes.

v2: https://lore.kernel.org/r/20250123-fix_missing_rtnl_lock_phy_disconnect-v2-0-e6206f5508ba@bootlin.com

v1: https://lore.kernel.org/r/20250122-fix_missing_rtnl_lock_phy_disconnect-v1-0-8cb9f6f88fd1@bootlin.com

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
====================

Link: https://patch.msgid.link/20250129-fix_missing_rtnl_lock_phy_disconnect-v3-0-24c4ba185a92@bootlin.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>