summaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorZhao Li <enderaoelyther@gmail.com>2026-10-28 22:22:35 +0800
committerJohannes Berg <johannes.berg@intel.com>2026-11-10 10:21:20 +0100
commit3029ca2112d7bee4d3e3eadd02decdb3eddb9485 (patch)
tree4ff6534aa176b1a00c2647396beff6fe199ff570 /tools/perf/scripts
parentf7670bcdf650b37551a9c5d084521f877d939f11 (diff)
wifi: mac80211: bound pending IBSS station allocations
Delaying the IBSS 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 disconnect frees the pending list. LLM assistance was used to find the bug and review. Fixes: 8bf11d8d0811 ("mac80211: delay IBSS station insertion") Cc: stable@vger.kernel.org Signed-off-by: Zhao Li <enderaoelyther@gmail.com> Link: https://patch.msgid.link/20261028142235.15428-3-enderaoelyther@gmail.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions