aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/irq
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2012-02-11 10:01:53 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-02-29 16:31:15 -0800
commit72633f08ad74b93530b8e038041c450492a00ed5 (patch)
treefb59377c7b36f1f72395a7f8e795821452e8ecf6 /kernel/irq
parent03fedc5c56706c1bd0528a2dfab590f3b7cd9d1d (diff)
downloadkernel_samsung_smdk4412-72633f08ad74b93530b8e038041c450492a00ed5.zip
kernel_samsung_smdk4412-72633f08ad74b93530b8e038041c450492a00ed5.tar.gz
kernel_samsung_smdk4412-72633f08ad74b93530b8e038041c450492a00ed5.tar.bz2
ath9k: stop on rates with idx -1 in ath9k rate control's .tx_status
commit 2504a6423b9ab4c36df78227055995644de19edb upstream. Rate control algorithms are supposed to stop processing when they encounter a rate with the index -1. Checking for rate->count not being zero is not enough. Allowing a rate with negative index leads to memory corruption in ath_debug_stat_rc(). One consequence of the bug is discussed at https://bugzilla.redhat.com/show_bug.cgi?id=768639 Signed-off-by: Pavel Roskin <proski@gnu.org> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/irq')
0 files changed, 0 insertions, 0 deletions