diff options
| author | Kory Maincent <[email protected]> | 2025-02-12 15:17:51 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-02-13 18:00:39 +0000 |
| commit | 488fb6effe03e20f38d34da7425de77bbd3e2665 (patch) | |
| tree | 4d3eaee7d33827df98a9b993c2f73a26afedbd17 /net/ipv4/icmp.c | |
| parent | rxrpc: Fix ipv6 path MTU discovery (diff) | |
| download | kernel-488fb6effe03e20f38d34da7425de77bbd3e2665.tar.gz kernel-488fb6effe03e20f38d34da7425de77bbd3e2665.zip | |
net: pse-pd: Fix deadlock in current limit functions
Fix a deadlock in pse_pi_get_current_limit and pse_pi_set_current_limit
caused by consecutive mutex_lock calls. One in the function itself and
another in pse_pi_get_voltage.
Resolve the issue by using the unlocked version of pse_pi_get_voltage
instead.
Fixes: e0a5e2bba38a ("net: pse-pd: Use power limit at driver side instead of current limit")
Signed-off-by: Kory Maincent <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/icmp.c')
0 files changed, 0 insertions, 0 deletions
