diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-07 19:42:09 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-07 15:48:19 -0400 |
commit | 73e194639d90594d06d0c10019c0ab4638869135 (patch) | |
tree | e4fd234aa10e0b423431568793f30418680de73c /crypto | |
parent | 2b40994cabd2f545d5c11d3a65dcee6f6f9155f8 (diff) | |
download | kernel_goldelico_gta04-73e194639d90594d06d0c10019c0ab4638869135.zip kernel_goldelico_gta04-73e194639d90594d06d0c10019c0ab4638869135.tar.gz kernel_goldelico_gta04-73e194639d90594d06d0c10019c0ab4638869135.tar.bz2 |
ath9k: fix a buffer leak in A-MPDU completion
When ath_tx_complete_aggr() is called, it's responsible for returning
all buffers in the linked list. This was not done when the STA lookup
failed, leading to a race condition that could leak a few buffers when
a STA just disconnected.
Fix this by immediately returning all buffers to the free list in this case.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: stable@kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions