summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorWentao Liang <vulab@iscas.ac.cn>2026-09-17 11:08:28 +0000
committerPaolo Abeni <pabeni@redhat.com>2026-09-22 13:13:10 +0200
commit999e8295bc41d6ce45b8e54f88150efa96f3f01e (patch)
tree5e98a87366fedd9248c03f380ddf7c01ba66e2cd /tools/perf/scripts/python/stackcollapse.py
parentac4334522e4ba4a3b6710dd5d4cc98092824b8ca (diff)
downloadlinux-999e8295bc41d6ce45b8e54f88150efa96f3f01e.tar.gz
linux-999e8295bc41d6ce45b8e54f88150efa96f3f01e.zip
net: hisilicon: hns_dsaf_mac: fix mdio device leak in hns_mac_register_phy()
hns_dsaf_find_platform_device() returns the mdio platform device with its reference count incremented. hns_mac_register_phy() never drops that reference, so the mdio device can not be released. Release the reference on both the deferred probe and the normal path. Fixes: 1d1afa2ebf82 ("net: hns: register phy device in each mac initial sequence") Cc: stable@vger.kernel.org Signed-off-by: Wentao Liang <vulab@iscas.ac.cn> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20260917110828.2148390-1-vulab@iscas.ac.cn Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions