aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2024-01-03 15:13:32 +0100
committerFelix Fietkau <nbd@nbd.name>2024-01-04 18:01:31 +0100
commit438a97fab69b41387e25cbec45271e7fe159a330 (patch)
treeedcda9a0748deb56fe0b692ac152cef6b2a8e5cb /package/kernel/linux
parentadf91335472f786c9d49911865a2a2bdfd523e7b (diff)
downloadupstream-438a97fab69b41387e25cbec45271e7fe159a330.tar.gz
upstream-438a97fab69b41387e25cbec45271e7fe159a330.tar.bz2
upstream-438a97fab69b41387e25cbec45271e7fe159a330.zip
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>
Diffstat (limited to 'package/kernel/linux')
0 files changed, 0 insertions, 0 deletions