commit | 99ba6a4610c8413c9166e600b1797f0a8f1c4498 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Mon Apr 08 00:04:13 2013 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Apr 10 14:10:34 2013 -0400 |
tree | f2558b71b322a0102751faf6754bc6da82209ce6 | |
parent | 3747c3eef6df9bf936fc571ab64122e651db6137 [diff] |
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>