aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorP Praneesh <praneesh.p@oss.qualcomm.com>2025-04-11 11:31:51 +0530
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-04-17 15:49:32 -0700
commit37a068fc9dc4feb8d76e8896bb33883d06c11a6b (patch)
treeb72088754dbd028cb2e0615c9805370b0ac9b590 /tools/perf/scripts/python/export-to-postgresql.py
parentwifi: ath12k: support 2 channels for single pdev device (diff)
downloadwireguard-linux-37a068fc9dc4feb8d76e8896bb33883d06c11a6b.tar.xz
wireguard-linux-37a068fc9dc4feb8d76e8896bb33883d06c11a6b.zip
wifi: ath12k: Handle error cases during extended skb allocation
Currently, in the case of extended skb allocation, the buffer is freed before the DMA unmap operation. This premature deletion can result in skb->data corruption, as the memory region could be re-allocated for other purposes. Fix this issue by reordering the failure cases by calling dma_unmap_single() first, then followed by the corresponding kfree_skb(). This helps avoid data corruption in case of failures in dp_tx(). Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1 Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0.c5-00481-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3 Fixes: d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") Signed-off-by: P Praneesh <praneesh.p@oss.qualcomm.com> Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com> Link: https://patch.msgid.link/20250411060154.1388159-2-praneesh.p@oss.qualcomm.com Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions