diff options
| author | 2026-10-16 18:44:47 -0700 | |
|---|---|---|
| committer | 2026-10-16 18:44:48 -0700 | |
| commit | 8b0244ca4fa4e717ffe6874f7eadc59ebb6ae5ba (patch) | |
| tree | 9ade698d325cfb61a9acac4d87d2ab7cbb1dd0f5 /scripts/Makefile.thinlto | |
| parent | Merge branch 'bareudp-enable-big-tcp-packets' (diff) | |
| parent | net: phy: put the driver module the attach took (diff) | |
Merge branch 'net-phy-fix-a-second-attach-of-an-attached-phy-and-the-module-put-on-detach'
Aleksei Sviridkin says:
====================
net: phy: fix a second attach of an attached PHY and the module put on detach
Two phylib fixes found on a Keenetic KN-1012 (MT7981) while chasing a
PHY driver unbind race. A second attach of an attached PHY tears down
the first consumer, and a detach after a driver unbind leaks the module
reference.
1: refuse a second attach before the driver module is taken or the
generic driver bound.
2: put the module the attach pinned, not whatever driver is bound at
detach.
Patch 1 goes first: with patch 2 alone, the second attach error path
leaves the first consumer's module reference pinned.
====================
Link: https://patch.msgid.link/20261013151200.2473464-1-f@lex.la
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
