1
linux/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez 46c501473d wimax/i2400m: fix oops in TX when tearing down the device
All the entry points into the TX module should check if the device has
been torn down. Otherwise, when the device resets or shuts down, there
are windows when a call to i2400m_tx*() will oops the system.

For that, make i2400m_tx_release() set i2400m->tx_buf to NULL under
the tx_lock. Then, any entry point [i2400m_tx(), _tx_msg_sent(),
_tx_msg_get()] will check for i2400m->tx_buf to be NULL and exit
gracefully.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-10-19 15:56:20 +09:00
..
control.c i2400m: keep index within ms_to_errno[] 2009-10-19 15:55:35 +09:00
debug-levels.h
debugfs.c
driver.c wimax/i2400m: queue device's report until the driver is ready for them 2009-10-19 15:56:19 +09:00
fw.c wimax/i2400m: change the bcf_len to exclude the extended header size 2009-10-19 15:56:16 +09:00
i2400m-sdio.h wimax/iwmc3200: increase wait time before enable retry 2009-10-19 15:55:43 +09:00
i2400m-usb.h wimax/i6x50: add Intel WiFi/WiMAX Link 6050 Series support 2009-10-19 15:55:59 +09:00
i2400m.h wimax/i2400m: queue device's report until the driver is ready for them 2009-10-19 15:56:19 +09:00
Kconfig
Makefile
netdev.c wimax/i2400m: fix race condition with tcpdump et al 2009-10-19 15:56:12 +09:00
op-rfkill.c
rx.c wimax/i2400m: queue device's report until the driver is ready for them 2009-10-19 15:56:19 +09:00
sdio-debug-levels.h
sdio-fw.c wimax/i2400m: be smarter about copying command buffer to bm_cmd_buf 2009-10-19 15:55:46 +09:00
sdio-rx.c wimax/i2400m: reduce verbosity of debug messages in boot mode 2009-10-19 15:56:11 +09:00
sdio-tx.c wimax/i2400m: fix oops in TX when tearing down the device 2009-10-19 15:56:20 +09:00
sdio.c wimax/i2400m: do bootmode buffer management in i2400m_setup/release() 2009-10-19 15:56:09 +09:00
sysfs.c
tx.c wimax/i2400m: fix oops in TX when tearing down the device 2009-10-19 15:56:20 +09:00
usb-debug-levels.h
usb-fw.c wimax/i2400m: workaround not-so-working %zd printf format 2009-10-19 15:55:51 +09:00
usb-notif.c wimax/i2400m: add reason argument to i2400m_dev_reset_handle() 2009-10-19 15:56:01 +09:00
usb-rx.c wimax/i2400m: USB driver uses a configurable endpoint map 2009-10-19 15:55:44 +09:00
usb-tx.c wimax/i2400m: USB driver uses a configurable endpoint map 2009-10-19 15:55:44 +09:00
usb.c wimax/i2400m: fix deadlock: don't do BUS reset under i2400m->init_mutex 2009-10-19 15:56:18 +09:00