mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
wifi: cw1200: Fix potential memory leak in cw1200_bh_rx_helper()
[ Upstream commit5e88e86411] In one of the error paths, the memory allocated for skb_rx is not freed. Fix that by freeing it before returning. Fixes:a910e4a94f("cw1200: add driver for the ST-E CW1100 & CW1200 WLAN chipsets") Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in> Link: https://patch.msgid.link/20251110175316.106591-1-nihaal@cse.iitm.ac.in Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
48a7d427eb
commit
51b823d772
1 changed files with 4 additions and 2 deletions
Loading…
Add table
Add a link
Reference in a new issue