summaryrefslogtreecommitdiff
path: root/include/linux/workqueue_api.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2023-08-29 11:39:53 +0300
committerFelix Fietkau <nbd@nbd.name>2023-09-30 21:03:03 +0300
commit0335c034e7265d36d956e806f33202c94a8a9860 (patch)
tree135dabd2b968ab97d046a84aa39df63151fa20b1 /include/linux/workqueue_api.h
parentdebd133ab2e2e06989c24e1a72be2b7997f30456 (diff)
downloadlinux-0335c034e7265d36d956e806f33202c94a8a9860.tar.xz
wifi: mt76: fix race condition related to checking tx queue fill status
When drv_tx calls race against local tx scheduling, the queue fill status checks can potentially race, leading to dma queue entries being overwritten. Fix this by deferring packets from drv_tx calls to the tx worker, in order to ensure that all regular queue tx comes from the same context. Reported-by: Ryder Lee <Ryder.Lee@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions