diff options
author | Yan Cangang <[email protected]> | 2022-11-20 13:52:58 +0800 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-22 20:16:45 -0800 |
commit | 8110437e59616293228cd781c486d8495a61e36a (patch) | |
tree | cb93c23a895c6fa7cd534fa22c580ba216bc468d /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 3213f808ae21be3891885de2f3a775afafcda987 (diff) |
net: ethernet: mtk_eth_soc: fix resource leak in error path
In mtk_probe(), when mtk_ppe_init() or mtk_eth_offload_init() failed,
mtk_mdio_cleanup() isn't called. Fix it.
Fixes: ba37b7caf1ed ("net: ethernet: mtk_eth_soc: add support for initializing the PPE")
Fixes: 502e84e2382d ("net: ethernet: mtk_eth_soc: add flow offloading support")
Signed-off-by: Yan Cangang <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions