linux/drivers/net/wimax/i2400m
Inaky Perez-Gonzalez 4a78fd9a73 wimax/i2400m: fix oops caused by race condition when exiting USB kthreads
Current i2400m USB code had to threads (one for processing RX, one for
TX). When calling i2400m_{tx,rx}_release(), it would crash if the
thread had exited already due to an error.

So changed the code to have the thread fill in/out
i2400mu->{tx,rx}_kthread under a spinlock; then the _release()
function will call kthread_stop() only if {rx,tx}_kthread is still
set.

Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
2009-10-19 15:56:22 +09:00
..
control.c i2400m: keep index within ms_to_errno[] 2009-10-19 15:55:35 +09:00
debug-levels.h wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
debugfs.c wimax: fix build issue when debugfs is disabled 2009-01-29 17:18:31 -08:00
driver.c wimax/i2400m: Let device's status reports change the device state 2009-10-19 15:56:21 +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 wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
netdev.c wimax/i2400m: fix race condition with tcpdump et al 2009-10-19 15:56:12 +09:00
op-rfkill.c wimax: fix gcc warnings in sh4 when calling BUG() 2009-06-11 11:47:39 -07:00
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 wimax/i2400m: allow control of the base-station idle mode timeout 2009-03-02 03:10:25 -08:00
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: fix oops caused by race condition when exiting USB kthreads 2009-10-19 15:56:22 +09:00
usb-tx.c wimax/i2400m: fix oops caused by race condition when exiting USB kthreads 2009-10-19 15:56:22 +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