diff options
author | 2024-12-21 17:14:48 +0900 | |
---|---|---|
committer | 2024-12-30 17:40:34 -0800 | |
commit | ad5c318086e2e23b577eca33559c5ebf89bc7eb9 (patch) | |
tree | fa408429d4e78c584a3b2ea12fb74b4ed029d224 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | gve: trigger RX NAPI instead of TX NAPI in gve_xsk_wakeup (diff) | |
download | wireguard-linux-ad5c318086e2e23b577eca33559c5ebf89bc7eb9.tar.xz wireguard-linux-ad5c318086e2e23b577eca33559c5ebf89bc7eb9.zip |
net: mv643xx_eth: fix an OF node reference leak
Current implementation of mv643xx_eth_shared_of_add_port() calls
of_parse_phandle(), but does not release the refcount on error. Call
of_node_put() in the error path and in mv643xx_eth_shared_of_remove().
This bug was found by an experimental verification tool that I am
developing.
Fixes: 76723bca2802 ("net: mv643xx_eth: add DT parsing support")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Link: https://patch.msgid.link/20241221081448.3313163-1-joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions