linux/drivers/net/wireless/intel
Zhengchao Shao 62ec7e8bf4 wifi: ipw2200: fix memory leak in ipw_wdev_init()
[ Upstream commit 9fe21dc626 ]

In the error path of ipw_wdev_init(), exception value is returned, and
the memory applied for in the function is not released. Also the memory
is not released in ipw_pci_probe(). As a result, memory leakage occurs.
So memory release needs to be added to the error path of ipw_wdev_init().

Fixes: a3caa99e6c ("libipw: initiate cfg80211 API conversion (v2)")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221209012422.182669-1-shaozhengchao@huawei.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:32:49 +01:00
..
ipw2x00 wifi: ipw2200: fix memory leak in ipw_wdev_init() 2023-03-10 09:32:49 +01:00
iwlegacy wifi: iwlegacy: common: don't call dev_kfree_skb() under spin_lock_irqsave() 2023-03-10 09:32:48 +01:00
iwlwifi wifi: iwlwifi: fw: skip PPAG for JF 2023-01-24 07:24:30 +01:00
Kconfig
Makefile