diff options
author | Tong Tiangen <[email protected]> | 2021-06-01 18:01:28 +0800 |
---|---|---|
committer | Kalle Valo <[email protected]> | 2021-06-15 13:37:31 +0300 |
commit | 7ea7a1e05c7ff5ffc9f9ec1f0849f6ceb7fcd57c (patch) | |
tree | fe8ff77c3e651bd1e85a6b7444b12ce37aa13759 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ea3f903caea08bbda8a5d4e86d1d24f50af40b5e (diff) |
brcmfmac: Fix a double-free in brcmf_sdio_bus_reset
brcmf_sdiod_remove has been called inside brcmf_sdiod_probe when fails,
so there's no need to call another one. Otherwise, sdiodev->freezer
would be double freed.
Fixes: 7836102a750a ("brcmfmac: reset SDIO bus on a firmware crash")
Signed-off-by: Tong Tiangen <[email protected]>
Reviewed-by: Arend van Spriel <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions