summaryrefslogtreecommitdiffstats
path: root/net/wireless/util.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-26 00:31:11 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-10-29 19:18:21 +0100
commit8c6e30936a7893a85f6222084f0f26aceb81137a (patch)
tree4130286b0162d3eb16d09286f6b254564faf3ec4 /net/wireless/util.c
parentMerge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jber... (diff)
downloadlinux-8c6e30936a7893a85f6222084f0f26aceb81137a.tar.xz
linux-8c6e30936a7893a85f6222084f0f26aceb81137a.zip
ath9k: fix stale pointers potentially causing access to free'd skbs
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> Cc: stable@vger.kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless/util.c')
0 files changed, 0 insertions, 0 deletions