diff options
| author | Catherine <enderaoelyther@gmail.com> | 2026-04-24 21:14:36 +0800 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2026-04-27 12:41:55 +0200 |
| commit | 7a5b81e0c87a075afd572f659d8eb68c9c4cd2ba (patch) | |
| tree | 8307b45b1dc8fe34318eff63ad812173f9fcf306 /scripts/stackusage | |
| parent | 9b55d5c1f5e481e391957f9096d798ca331c461b (diff) | |
wifi: mac80211: drop stray 'static' from fast-RX rx_result
ieee80211_invoke_fast_rx() is documented as safe for parallel RX, but
its per-invocation rx_result is declared static. Concurrent callers then
share one instance and can overwrite each other's result between
ieee80211_rx_mesh_data() and the switch on res.
That can make a packet that was queued or consumed by
ieee80211_rx_mesh_data() fall through into ieee80211_rx_8023(), or make
a packet that should continue return as queued.
Make res an automatic variable so each invocation keeps its own result.
Fixes: 3468e1e0c639 ("wifi: mac80211: add mesh fast-rx support")
Cc: stable@vger.kernel.org
Signed-off-by: Catherine <enderaoelyther@gmail.com>
Link: https://patch.msgid.link/20260424131435.83212-2-enderaoelyther@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
