summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-10-28 22:23:01 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 10:24:16 +0100
commit27e29a077b4887d0e0a813337f8b7e06bd020c81 (patch)
treeaeff1cb915f096a4333563920bf8216a451d4bff /tools/perf/scripts/python/bin
parent3029ca2112d7bee4d3e3eadd02decdb3eddb9485 (diff)
wifi: mac80211: recheck the OCB station limit before insertion
Frames from successive unknown OCB peers can make the deferred worker install more than 128 stations. The receive path checks local->num_sta before allocating each station, but pending stations are not included in that count. Several allocations can therefore pass before the worker inserts any of them, and the worker then drains the list without rechecking the limit. Recheck the installed-station limit in the worker under the wiphy mutex and free entries that no longer fit. LLM assistance was used to find the bug and review. Fixes: 239281f803e2 ("mac80211: 802.11p OCB mode support") Cc: stable@vger.kernel.org Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Link: https://patch.msgid.link/20261028142302.16634-2-enderaoelyther@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions