linux-uconsole/drivers/net/wireless/marvell
Navid Emamdoost f2bde0e998 mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf
commit db8fd2cde9 upstream.

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: fc33146090 ("mwifiex: use pci_alloc/free_consistent APIs for PCIe")
Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Acked-by: Ganapathi Bhat <gbhat@marvell.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Cc: Ben Hutchings <ben.hutchings@codethink.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-14 20:07:06 +01:00
..
libertas libertas: fix a potential NULL pointer dereference 2019-12-31 16:34:49 +01:00
libertas_tf libertas_tf: don't set URB_ZERO_PACKET on IN USB transfer 2019-03-23 20:10:00 +01:00
mwifiex mwifiex: pcie: Fix memory leak in mwifiex_pcie_alloc_cmdrsp_buf 2020-01-14 20:07:06 +01:00
Kconfig net/wireless: fix spaces and grammar copy/paste in vendor Kconfig help text 2018-03-13 18:52:25 +02:00
Makefile
mwl8k.c mwl8k: Fix rate_idx underflow 2019-05-16 19:41:28 +02:00