diff options
| author | Dan Carpenter <[email protected]> | 2022-07-28 11:52:09 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-07-28 17:43:04 +0000 |
| commit | 4d3d3a1b244fd54629a6b7047f39a7bbc8d11910 (patch) | |
| tree | 86507bdbfcd1e69f12dcf756af11f3f9fb702dac /net/ipv4/tcp_output.c | |
| parent | ipv6/addrconf: fix a null-ptr-deref bug for ip6_ptr (diff) | |
| download | kernel-4d3d3a1b244fd54629a6b7047f39a7bbc8d11910.tar.gz kernel-4d3d3a1b244fd54629a6b7047f39a7bbc8d11910.zip | |
stmmac: dwmac-mediatek: fix resource leak in probe
If mediatek_dwmac_clks_config() fails, then call stmmac_remove_config_dt()
before returning. Otherwise it is a resource leak.
Fixes: fa4b3ca60e80 ("stmmac: dwmac-mediatek: fix clock issue")
Signed-off-by: Dan Carpenter <[email protected]>
Link: https://lore.kernel.org/r/YuJ4aZyMUlG6yGGa@kili
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions
