aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorJohannes Berg <[email protected]>2024-03-19 08:10:22 +0000
committerJohannes Berg <[email protected]>2024-03-25 14:23:07 +0000
commitc2ace6300600c634553657785dfe5ea0ed688ac2 (patch)
tree49daa49254a642c5f770826c3cc3d31990a9791a /scripts/bpf_doc.py
parentwifi: iwlwifi: fw: don't always use FW dump trig (diff)
downloadkernel-c2ace6300600c634553657785dfe5ea0ed688ac2.tar.gz
kernel-c2ace6300600c634553657785dfe5ea0ed688ac2.zip
wifi: iwlwifi: read txq->read_ptr under lock
If we read txq->read_ptr without lock, we can read the same value twice, then obtain the lock, and reclaim from there to two different places, but crucially reclaim the same entry twice, resulting in the WARN_ONCE() a little later. Fix that by reading txq->read_ptr under lock. Signed-off-by: Johannes Berg <[email protected]> Signed-off-by: Miri Korenblit <[email protected]> Link: https://msgid.link/20240319100755.bf4c62196504.I978a7ca56c6bd6f1bf42c15aa923ba03366a840b@changeid Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions