commit | 2b40994cabd2f545d5c11d3a65dcee6f6f9155f8 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Wed Jul 07 19:42:08 2010 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Wed Jul 07 15:48:18 2010 -0400 |
tree | 5298b5441abc363c40352e64ef784ae8d085445e | |
parent | 60ea385ff279a18790a432d57a8302562aaa0f8d [diff] |
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 <nbd@openwrt.org> Cc: stable@kernel.org Signed-off-by: John W. Linville <linville@tuxdriver.com>