diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-10 09:59:15 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 20:18:15 -0400 |
commit | 8e4d4c932d23091953185297d40315e8ba76837f (patch) | |
tree | 8a121c10864623642dfd206b786ff7bc893f6a49 /fs | |
parent | 31f34c79a7e8fb75c7bf7d61d56fc8eeff2a7886 (diff) |
ath9k: fix rx descriptor related race condition
commit e96542e55a2aacf4bdeccfe2f17b77c4895b4df2 upstream.
Similar to a race condition that exists in the tx path, the hardware
might re-read the 'next' pointer of a descriptor of the last completed
frame. This only affects non-EDMA (pre-AR93xx) devices.
To deal with this race, defer clearing and re-linking a completed rx
descriptor until the next one has been processed.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions