/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt792x_core.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
H A D | mt76x02_util.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
H A D | tx.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
H A D | mac80211.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
H A D | mt76.h | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | main.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | main.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | main.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
/linux/drivers/net/wireless/mediatek/mt76/mt7921/ |
H A D | main.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|
/linux/drivers/net/wireless/mediatek/mt76/mt7615/ |
H A D | main.c | diff 0335c034e7265d36d956e806f33202c94a8a9860 Tue Aug 29 10:39:53 CEST 2023 Felix Fietkau <nbd@nbd.name> 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>
|