summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLinmao Li <lilinmao@kylinos.cn>2026-08-13 16:23:14 +0800
committerJeff Chen <jeff.chen_1@nxp.com>2026-10-06 21:13:54 +0800
commitd68d6d8d8bbb5596909479dc6cac58132d8f0dbf (patch)
tree1856b369c427c9e3beed94e2ace6f0cac938d7ce /tools/perf/scripts/python
parent5c9260d7c6990875fc788ebb86ea2bf08b492704 (diff)
downloadlinux-d68d6d8d8bbb5596909479dc6cac58132d8f0dbf.tar.gz
linux-d68d6d8d8bbb5596909479dc6cac58132d8f0dbf.zip
wifi: nxpwifi: free the aggregation buffer when the RA list disappears
nxpwifi_11n_aggregate_pkt() drops ra_list_spinlock while it copies each subframe, so it rechecks the RA list after taking the lock again. The check inside the aggregation loop returns without releasing the skb_aggr it has been filling, leaking one tx_buf_size buffer along with the subframes already aggregated into it. Release skb_aggr there, the way the same check on the -EBUSY path already does. mwifiex fixed the same issue in commit 990a73dec3fd ("wifi: mwifiex: Fix memory leak in mwifiex_11n_aggregate_pkt()"). Fixes: 73b01e57ed3e ("wifi: nxp: add nxpwifi driver for IW61x") Signed-off-by: Linmao Li <lilinmao@kylinos.cn> Reviewed-by: Jeff Chen <jeff.chen_1@nxp.com> Signed-off-by: Jeff Chen <jeff.chen_1@nxp.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions