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 20:35:46 +0100 |
commit | 8dd0100ce9511e52614ecd0a6587c13ce5769c8b (patch) | |
tree | 0c3e89e2b154f2f778d6a0ae84006817ef275ebb /fs/openpromfs | |
parent | b43legacy: drop packets we are not able to encrypt (diff) | |
download | linux-8dd0100ce9511e52614ecd0a6587c13ce5769c8b.tar.xz linux-8dd0100ce9511e52614ecd0a6587c13ce5769c8b.zip |
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 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions