wifi: mt76: fix uninitialised RXDMAD_C descriptor info

Unlike other WED-RRO queues, RXDMAD_C frames continue into the skb build
path, but mt76_dma_get_buf() skips the desc->info read for RRO queues, so
the uninitialised on-stack info was stored into skb->cb and passed to
rx_skb(); initialise it to zero.

Fixes: e50d4d710efd ("wifi: mt76: Add mt76_dma_get_rxdmad_c_buf utility routione")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2026-07-22 10:51:13 +02:00
parent f67ffb60cd
commit 220cf481a7
+1 -1
View File
@@ -1002,7 +1002,7 @@ mt76_dma_rx_process(struct mt76_dev *dev, struct mt76_queue *q, int budget)
while (done < budget) { while (done < budget) {
bool drop = false; bool drop = false;
u32 info; u32 info = 0;
if (check_ddone) { if (check_ddone) {
if (q->tail == dma_idx) if (q->tail == dma_idx)