diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-26 00:31:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:14:20 -0800 |
commit | a699cd395b19aa262fbffcbe79aec1c57238e489 (patch) | |
tree | 2056991d4b13debe026f89e1e12c37ae8612e3af /include | |
parent | ac7b56f4149a2f0e331a9b640f65aed57ed15eb4 (diff) | |
download | kernel_samsung_aries-a699cd395b19aa262fbffcbe79aec1c57238e489.zip kernel_samsung_aries-a699cd395b19aa262fbffcbe79aec1c57238e489.tar.gz kernel_samsung_aries-a699cd395b19aa262fbffcbe79aec1c57238e489.tar.bz2 |
ath9k: fix stale pointers potentially causing access to free'd skbs
commit 8c6e30936a7893a85f6222084f0f26aceb81137a upstream.
bf->bf_next is only while buffers are chained as part of an A-MPDU
in the tx queue. When a tid queue is flushed (e.g. on tearing down
an aggregation session), frames can be enqueued again as normal
transmission, without bf_next being cleared. This can lead to the
old pointer being dereferenced again later.
This patch might fix crashes and "Failed to stop TX DMA!" messages.
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 'include')
0 files changed, 0 insertions, 0 deletions