Re: [PATCH] mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

From: Kalle Valo
Date: Wed Oct 09 2019 - 04:25:18 EST


Navid Emamdoost <navid.emamdoost@xxxxxxxxx> wrote:

> In mwifiex_pcie_alloc_cmdrsp_buf, a new skb is allocated which should be
> released if mwifiex_map_pci_memory() fails. The release is added.
>
> Fixes: fc3314609047 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe")
> Signed-off-by: Navid Emamdoost <navid.emamdoost@xxxxxxxxx>
> Acked-by: Ganapathi Bhat <gbhat@xxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

db8fd2cde932 mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf

--
https://patchwork.kernel.org/patch/11175263/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches