OSDN Git Service

mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw
authorFelix Fietkau <nbd@nbd.name>
Mon, 20 Jan 2020 11:08:30 +0000 (12:08 +0100)
committerFelix Fietkau <nbd@nbd.name>
Fri, 14 Feb 2020 09:06:06 +0000 (10:06 +0100)
commit93eaec7625f13cffb593b471405b017c7e64d4ee
treeb2e3763cea0bcf613178696c0f6240136ed1677d
parent5ffc6b5a98404db51529c427ccbccd4878593cea
mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw

Fixes a theoretical issue where it could potentially overwrite an existing
descriptor entry (and leaking its skb)

Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/dma.c