aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorLiu Jian <[email protected]>2022-11-17 19:13:56 +0800
committerJakub Kicinski <[email protected]>2022-11-18 19:33:05 -0800
commitf70074140524c59a0935947b06dd6cb6e1ea642d (patch)
treecfe3173d8a26a96306679266a89a06415dbd6b13 /tools/perf/scripts/python/syscall-counts.py
parent2360f9b8c4e81d242d4cbf99d630a2fffa681fab (diff)
net: ethernet: mtk_eth_soc: fix error handling in mtk_open()
If mtk_start_dma() fails, invoke phylink_disconnect_phy() to perform cleanup. phylink_disconnect_phy() contains the put_device action. If phylink_disconnect_phy is not performed, the Kref of netdev will leak. Fixes: b8fc9f30821e ("net: ethernet: mediatek: Add basic PHYLINK support") Signed-off-by: Liu Jian <[email protected]> Reviewed-by: Russell King (Oracle) <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions