diff options
| author | Abdun Nihaal <nihaal@cse.iitm.ac.in> | 2025-10-28 22:34:55 +0530 |
|---|---|---|
| committer | Jeff Johnson <jeff.johnson@oss.qualcomm.com> | 2025-10-30 14:55:07 -0700 |
| commit | be5febd51c478bc8e24ad3480435f2754a403b14 (patch) | |
| tree | ded915e89040edb71f8a7174994921bee06570d3 /rust/kernel/workqueue.rs | |
| parent | 197498315de711140bcc4722fdeb7c1761777100 (diff) | |
wifi: ath12k: fix potential memory leak in ath12k_wow_arp_ns_offload()
When the call to ath12k_wmi_arp_ns_offload() fails, the temporary memory
allocation for offload is not freed before returning. Fix that by
freeing offload in the error path.
Fixes: 1666108c74c4 ("wifi: ath12k: support ARP and NS offload")
Signed-off-by: Abdun Nihaal <nihaal@cse.iitm.ac.in>
Reviewed-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Link: https://patch.msgid.link/20251028170457.134608-1-nihaal@cse.iitm.ac.in
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'rust/kernel/workqueue.rs')
0 files changed, 0 insertions, 0 deletions
