Commit 31606029 authored by Nicolas Escande's avatar Nicolas Escande Committed by Greg Kroah-Hartman
Browse files

wifi: ath12k: fix skb_ext_desc leak in ath12k_dp_tx() error path



[ Upstream commit 28a9972e ]

When vlan support was added, we missed that when
ath12k_dp_prepare_htt_metadata() returns an error we also need to free
the skb holding the metadata before going on with the cleanup process.

Compile tested only.

Fixes: 26dd8ccd ("wifi: ath12k: dynamic VLAN support")
Signed-off-by: default avatarNicolas Escande <nico.escande@gmail.com>
Reviewed-by: default avatarAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Link: https://patch.msgid.link/20250122160112.3234558-1-nico.escande@gmail.com


Signed-off-by: default avatarJeff Johnson <jeff.johnson@oss.qualcomm.com>
Stable-dep-of: 37a068fc ("wifi: ath12k: Handle error cases during extended skb allocation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent b77a5ecb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment