summaryrefslogtreecommitdiffstats
path: root/drivers/dma/dw_dmac_regs.h
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2012-02-11 16:01:53 +0100
committerJohn W. Linville <linville@tuxdriver.com>2012-02-15 19:56:15 +0100
commit2504a6423b9ab4c36df78227055995644de19edb (patch)
tree911bd00987bca9db89a40874ad44ae956e024b5d /drivers/dma/dw_dmac_regs.h
parentmwifiex: clear previous security setting during association (diff)
downloadlinux-2504a6423b9ab4c36df78227055995644de19edb.tar.xz
linux-2504a6423b9ab4c36df78227055995644de19edb.zip
ath9k: stop on rates with idx -1 in ath9k rate control's .tx_status
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> Cc: stable@vger.kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/dma/dw_dmac_regs.h')
0 files changed, 0 insertions, 0 deletions