]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ath9k: fix yet another buffer leak in the tx aggregation code
authorFelix Fietkau <nbd@openwrt.org>
Fri, 23 Jul 2010 01:53:16 +0000 (03:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 26 Jul 2010 19:32:42 +0000 (15:32 -0400)
commit4cee78614cfa046a26c4fbf313d5bbacb3ad8efc
tree0affac977346b9130c960a3c4eec430d3f234025
parentec25acc46a62db98baaa9b221f33b66af09a1964
ath9k: fix yet another buffer leak in the tx aggregation code

When an aggregation session is being cleaned up, while the tx status
for some frames is being processed, the TID is flushed and its buffers
are sent out.

Unfortunately that left the pending un-acked frames unprocessed, thus
leaking buffers. Fix this by reordering the code so that those frames
are processed first, before the TID is flushed.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/xmit.c