diff options
| author | Navid Emamdoost <navid.emamdoost@gmail.com> | 2019-11-22 13:19:48 -0600 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2019-12-18 20:20:49 +0200 |
| commit | 5cc509aa83c6acd2c5cd94f99065c39d2bd0a490 (patch) | |
| tree | 845f25aa836d50a90cf8e74a92112fd9cf857fa1 /tools/perf/scripts/python | |
| parent | Merge ath-next from git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git (diff) | |
| download | linux-5cc509aa83c6acd2c5cd94f99065c39d2bd0a490.tar.gz linux-5cc509aa83c6acd2c5cd94f99065c39d2bd0a490.zip | |
brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()
In the implementation of brcmf_p2p_create_p2pdev() the allocated memory
for p2p_vif is leaked when the mac address is the same as primary
interface. To fix this, go to error path to release p2p_vif via
brcmf_free_vif().
Fixes: cb746e47837a ("brcmfmac: check p2pdev mac address uniqueness")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
