linux/drivers/net/wireless/intel/iwlegacy
Julian Calaby 84d17a2a5a iwl4965: Fix more memory leaks in __il4965_up()
In some of the non-success return paths, the memory allocated by
iwl4965_sta_alloc_lq() in iwl4965_alloc_bcast_station() is not freed.

In particular:
 - if the card isn't ready after il4965_prepare_card_hw()
 - if the card is hardware-rfkilled

In the hardware rfkilled path, the driver enables the rfkill
interrupt. When the card is unrfkilled and this interrupt is raised
we end up calling il4965_bg_restart() which calls __il4965_up() which
calls iwl4965_alloc_bcast_station() again.

Suggested-by: Jia-Ju Bai <baijiaju1990@163.com>
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2016-04-07 19:37:50 +03:00
..
3945-debug.c
3945-mac.c
3945-rs.c
3945.c
3945.h
4965-calib.c
4965-debug.c
4965-mac.c iwl4965: Fix more memory leaks in __il4965_up() 2016-04-07 19:37:50 +03:00
4965-rs.c
4965.c
4965.h mac80211: pass block ack session timeout to to driver 2016-01-14 11:13:17 +01:00
commands.h
common.c iwl4965: Fix a null pointer dereference in il_tx_queue_free and il_cmd_queue_free 2016-04-07 19:37:43 +03:00
common.h
csr.h
debug.c
iwl-spectrum.h
Kconfig
Makefile
prph.h