aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCarl Huang <[email protected]>2018-03-05 14:44:02 +0800
committerKalle Valo <[email protected]>2018-03-26 18:13:03 +0300
commit9ef0f58ed7b4a55da4a64641d538e0d9e46579ac (patch)
treec2591ea97d34c1a197ff2826c1a9df0e4d25c0e9 /tools/perf/scripts/python
parent6b8a127bf66d395705153fdaf3fc0b52bedd2e9f (diff)
ath10k: fix use-after-free in ath10k_wmi_cmd_send_nowait
The skb may be freed in tx completion context before trace_ath10k_wmi_cmd is called. This can be easily captured when KASAN(Kernel Address Sanitizer) is enabled. The fix is to move trace_ath10k_wmi_cmd before the send operation. As the ret has no meaning in trace_ath10k_wmi_cmd then, so remove this parameter too. Signed-off-by: Carl Huang <[email protected]> Tested-by: Brian Norris <[email protected]> Reviewed-by: Brian Norris <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions