aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorAriel Malamud <[email protected]>2023-05-14 12:15:55 +0300
committerJohannes Berg <[email protected]>2023-05-16 10:27:05 -0700
commita8938bc881d2a03f9b77f19fae924fe798a01285 (patch)
tree8bb712b785c475c893b59c3f4a1a07d3d4059726 /tools/perf/scripts/python/bin/export-to-postgresql-report
parent207be64f4e60bf5de13fc69fcf7fe2441bf71a97 (diff)
wifi: iwlwifi: mvm: Add locking to the rate read flow
The rs_drv_get_rate flow reads the lq_sta to return the optimal rate for tx frames. This read flow is not protected thereby leaving a small window, a few instructions wide, open to contention by an asynchronous rate update. Indeed this race condition was hit and the update occurred in the middle of the read. Fix this by locking the lq_sta struct during read. Signed-off-by: Ariel Malamud <[email protected]> Signed-off-by: Gregory Greenman <[email protected]> Link: https://lore.kernel.org/r/20230514120631.b52c9ed5c379.I15290b78e0d966c1b68278263776ca9de841d5fe@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions