diff options
author | Stefano Brivio <stefano.brivio@polimi.it> | 2008-02-02 19:16:03 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-05 14:35:46 -0500 |
commit | 8dd0100ce9511e52614ecd0a6587c13ce5769c8b (patch) | |
tree | 0c3e89e2b154f2f778d6a0ae84006817ef275ebb /net/mac80211/Kconfig | |
parent | 9eca9a8e81928685b4de00ecef83a7c13c340fc9 (diff) |
b43legacy: fix DMA slot resource leakage
This fixes four resource leakages.
In any error path we must deallocate the DMA frame slots we
previously allocated by request_slot().
This is done by storing the ring pointers before doing any ring
allocation and restoring the old pointers in case of an error.
This patch by Michael Buesch has been ported to b43legacy.
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/Kconfig')
0 files changed, 0 insertions, 0 deletions