From: Felix Fietkau Date: Wed, 7 Jul 2010 17:42:08 +0000 (+0200) Subject: ath9k: fix a potential buffer leak in the STA teardown path X-Git-Tag: v2.6.36-rc1~571^2~107^2~94 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b40994cabd2f545d5c11d3a65dcee6f6f9155f8;p=pandora-kernel.git ath9k: fix a potential buffer leak in the STA teardown path It looks like it might be possible for a TID to be paused, while still holding some queued buffers, however ath_tx_node_cleanup currently only iterates over active TIDs. Fix this by always checking every allocated TID for the STA that is being cleaned up. Signed-off-by: Felix Fietkau Cc: stable@kernel.org Signed-off-by: John W. Linville --- Reading git-diff-tree failed