Files
linux/drivers/net
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
..
2019-10-05 13:09:29 +02:00
2019-09-10 10:33:48 +01:00
2018-05-28 23:02:22 -04:00
2019-05-25 18:23:19 +02:00
2019-12-31 16:36:03 +01:00
2018-09-16 15:33:50 -07:00
2020-01-12 12:17:27 +01:00