aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDeepanshu Kartikey <kartikey406@gmail.com>2026-09-10 09:40:47 +0530
committerJohannes Berg <johannes.berg@intel.com>2026-09-14 15:43:05 +0200
commitaaf06d7cb648665bdff53a450809234326cbcfe7 (patch)
tree453fde1b4bb67dbb72e99f90f7efca8b3e012864 /scripts/Makefile.thinlto
parentwifi: mac80211: report 900MHz channel for S1G band radiotap header (diff)
wifi: mac80211: fix stats/preemption in ieee80211_tx_control_port()
ieee80211_tx_control_port() can be called from nl80211_tx_control_port() in normal process context via netlink sendmsg(), where BH/preemption is not disabled. dev_sw_netstats_tx_add() uses this_cpu_ptr() internally, which requires preemption to be disabled, triggering a "BUG: using smp_processor_id() in preemptible code" warning. Fix this by moving the local_bh_disable()/local_bh_enable() section to also cover dev_sw_netstats_tx_add() and ieee80211_tpt_led_trig_tx(). Fixes: d5a014204a3b ("wifi: mac80211: tx: simplify control port frame transmission") Reported-by: syzbot+d979bd35c8a76fd1b6f5@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=d979bd35c8a76fd1b6f5 Signed-off-by: Deepanshu Kartikey <kartikey406@gmail.com> Link: https://patch.msgid.link/20260910041047.24437-1-kartikey406@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions