summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-10-28 22:23:02 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 10:24:24 +0100
commitee1a5e92dba0a98cabe476c780e3af4f0ab88b27 (patch)
tree1d225a10eca774d1651e0fd829138f209dd27626 /tools/perf/scripts/python/bin
parent27e29a077b4887d0e0a813337f8b7e06bd020c81 (diff)
wifi: mac80211: bound pending OCB station allocations
Delaying the OCB station worker while frames arrive from new peers can retain an unbounded number of station allocations. The receive-side limit counts installed stations, while new allocations wait on incomplete_stations until process context inserts them. The list lock does not cover the interval between allocation and list insertion. Reserve one of 128 pending slots per interface before allocation. Release the reservation on allocation failure, after the worker inserts or frees the station, and when leave frees the pending list. 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-3-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