diff options
| author | Joe Hattori <[email protected]> | 2025-01-07 05:44:53 +0000 |
|---|---|---|
| committer | Viresh Kumar <[email protected]> | 2025-01-07 06:07:52 +0000 |
| commit | 1d38eb7f7b26261a0b642f6e0923269c7c000a97 (patch) | |
| tree | e5ec228a3f2fc1132d0681d18e7be3a9eb103174 /net/unix/sysctl_net_unix.c | |
| parent | OPP: fix dev_pm_opp_find_bw_*() when bandwidth table not initialized (diff) | |
| download | kernel-1d38eb7f7b26261a0b642f6e0923269c7c000a97.tar.gz kernel-1d38eb7f7b26261a0b642f6e0923269c7c000a97.zip | |
OPP: OF: Fix an OF node leak in _opp_add_static_v2()
_opp_add_static_v2() leaks the obtained OF node reference when
_of_opp_alloc_required_opps() fails. Add an of_node_put() call in the
error path.
Fixes: 3466ea2cd6b6 ("OPP: Don't drop opp->np reference while it is still in use")
Signed-off-by: Joe Hattori <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
