]> git.openfabrics.org - ~emulex/infiniband.git/commit
ath9k: implement buffer holding handling for EDMA FIFO
authorFelix Fietkau <nbd@openwrt.org>
Sun, 7 Apr 2013 22:04:13 +0000 (00:04 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Apr 2013 18:10:34 +0000 (14:10 -0400)
commit99ba6a4610c8413c9166e600b1797f0a8f1c4498
treef2558b71b322a0102751faf6754bc6da82209ce6
parent3747c3eef6df9bf936fc571ab64122e651db6137
ath9k: implement buffer holding handling for EDMA FIFO

Inside one FIFO slot queue, EDMA chipsets have the same link pointer
re-read race condition as older chipsets, so the same buffer holding
logic needs to be used in order to avoid use-after-free bugs.
Unlike on older chips, it can be skipped for the end of the queue.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c