linux/net/bluetooth/cmtp
David Herrmann 48b28b8db9 Bluetooth: cmtp: Fix module reference
We cannot call module_put(THIS_MODULE) if this is our last reference. Otherwise,
this call may cleanup our module before it returns.

Gladly, the kthread API provides a simple wrapper for us. So lets use
module_put_and_exit() to avoid a race condition with the module cleanup code.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
2011-11-21 14:28:45 -02:00
..
Kconfig
Makefile
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 module reference 2011-11-21 14:28:45 -02:00
sock.c