summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-10-11 14:52:30 +0200
committerJohannes Berg <johannes.berg@intel.com>2024-10-23 16:46:53 +0200
commit6ee0270943b5af02fd6703d5b580d7ca96ff1176 (patch)
tree0421ad346ccb62c945e0583a5e296eebe857c9fb /scripts/generate_rust_analyzer.py
parent2d63e6530ec1f50f57c1cde598274d055fb7a36c (diff)
downloadlwn-6ee0270943b5af02fd6703d5b580d7ca96ff1176.tar.gz
lwn-6ee0270943b5af02fd6703d5b580d7ca96ff1176.zip
wifi: mac80211_hwsim: use hrtimer_active()
Instead of hrtimer_is_queued(), use hrtimer_active() since it might be running concurrently, and then it's not queued at that point in time, as suggested by Thomas Gleixner in https://lore.kernel.org/87plqn5psu.ffs@tglx, I just never got to this for ages. I think the concurrency is otherwise fine since we'll get to cancel if we're actually removing things, and otherwise we just send a beacon at slightly the wrong time or so. Reported-by: syzbot+41e4341f493f1155aa3d@syzkaller.appspotmail.com Link: https://patch.msgid.link/20241011145230.5a4d38d4ff9b.Iac0ec316a0c9a7b2619abe52ddc8e04c25d8c7e1@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions