1
linux/net/bluetooth/cmtp
Peter Hurley 7176522cdc Bluetooth: cmtp: Fix deadlock in session deletion
Commit fada4ac339 introduced the usage of kthread API.
kthread_stop is a blocking function which returns only when
the thread exits. In this case, the thread can't exit because it's
waiting for the write lock, which is being held by cmtp_del_connection()
which is waiting for the thread to exit -- deadlock.

Revert cmtp_reset_ctr to its original behavior: non-blocking signalling
for the session to terminate.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-08-11 19:50:27 -03:00
..
capi.c Bluetooth: cmtp: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
cmtp.h Bluetooth: cmtp: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
core.c Bluetooth: cmtp: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
Kconfig
Makefile
sock.c Bluetooth: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> 2011-03-31 14:22:56 -03:00