linux-stable-rt/drivers/net/wireless/b43legacy
Stefano Brivio 8dd0100ce9 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>
2008-02-05 14:35:46 -05:00
..
Kconfig
Makefile
b43legacy.h b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
debugfs.c
debugfs.h
dma.c b43legacy: fix DMA slot resource leakage 2008-02-05 14:35:46 -05:00
dma.h
ilt.c
ilt.h
leds.c
leds.h
main.c b43legacy: fix suspend/resume 2008-02-05 14:35:46 -05:00
main.h
phy.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
phy.h b43legacy: Remove the PHY spinlock 2008-01-28 15:10:42 -08:00
pio.c b43legacy: drop packets we are not able to encrypt 2008-02-05 14:35:46 -05:00
pio.h
radio.c b43legacy: fix MAC control and microcode init 2008-01-31 19:26:37 -08:00
radio.h
rfkill.c b43legacy: fix use-after-free rfkill bug 2008-01-28 15:10:10 -08:00
rfkill.h
sysfs.c
sysfs.h
xmit.c b43legacy: drop packets we are not able to encrypt 2008-02-05 14:35:46 -05:00
xmit.h b43legacy: drop packets we are not able to encrypt 2008-02-05 14:35:46 -05:00