Felix Fietkau
9325da80ab
mac80211: fix a race condition related to enabling fast-xmit
...
fast-xmit must only be enabled after the sta has been uploaded to the driver,
otherwise it could end up passing the not-yet-uploaded sta via drv_tx calls
to the driver, leading to potential crashes because of uninitialized drv_priv
data.
Add a missing sta->uploaded check and re-check fast xmit after inserting a sta.
Signed-off-by: Felix Fietkau <nbd@nbd.name >
(cherry picked from commit 438a97fab6 )
2024-01-04 19:09:43 +01:00
..
2023-04-18 10:43:06 +02:00
2022-11-27 13:18:29 +01:00
2023-04-18 10:43:06 +02:00
2022-12-10 15:15:19 +01:00
2022-12-10 15:15:19 +01:00
2022-12-10 15:15:19 +01:00
2022-12-10 15:15:19 +01:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-03-19 18:10:36 +01:00
2023-04-18 10:43:06 +02:00
2023-03-19 18:10:36 +01:00
2023-03-19 18:10:36 +01:00
2023-03-19 18:10:36 +01:00
2023-03-19 18:10:36 +01:00
2023-03-19 18:10:36 +01:00
2023-03-19 18:10:36 +01:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-02-26 23:45:07 +01:00
2023-02-26 23:45:07 +01:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-04-18 10:43:06 +02:00
2023-03-26 17:19:39 +02:00
2023-04-18 10:43:06 +02:00
2023-03-30 11:40:11 +02:00
2023-03-30 11:40:11 +02:00
2023-04-18 10:43:06 +02:00
2023-03-30 11:40:11 +02:00
2023-04-18 10:43:06 +02:00
2023-06-12 22:10:15 +02:00
2024-01-04 19:09:43 +01:00
2023-09-18 16:52:25 +02:00
2022-12-10 15:15:19 +01:00
2023-09-18 16:52:25 +02:00
2021-10-24 00:08:03 +02:00