linux/net/bluetooth
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
..
bnep Merge branch 'master' of git://git.infradead.org/users/linville/wireless-next into for-davem 2011-10-11 15:35:42 -04:00
cmtp Bluetooth: cmtp: Fix module reference 2011-11-21 14:28:45 -02:00
hidp Bluetooth: Linearize skbs for use in BNEP, CMTP, HIDP, and RFCOMM 2011-09-27 18:15:55 -03:00
rfcomm Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-11-02 15:15:51 -04:00
af_bluetooth.c Bluetooth: Handle fragmented skbs in bt_sock_stream_recvmsg() 2011-09-27 18:16:07 -03:00
hci_conn.c Bluetooth: Revert: Fix L2CAP connection establishment 2011-11-07 16:46:05 -02:00
hci_core.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-11-02 15:15:51 -04:00
hci_event.c Bluetooth: hci_le_adv_report_evt code refactoring 2011-09-29 15:25:08 -03:00
hci_sock.c Bluetooth: Add mgmt events for blacklisting 2011-09-21 12:59:15 -03:00
hci_sysfs.c Bluetooth: Add LE link type for debugfs output 2011-09-21 12:58:12 -03:00
Kconfig bluetooth: uses crypto interfaces, select CRYPTO 2011-06-27 15:09:39 -04:00
l2cap_core.c Bluetooth: Use miliseconds for L2CAP channel timeouts 2011-11-07 17:19:04 -02:00
l2cap_sock.c bluetooth: Properly clone LSM attributes to newly created child connections 2011-10-18 23:36:43 -04:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Implement the first SMP commands 2011-06-13 15:11:55 -03:00
mgmt.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/padovan/bluetooth 2011-11-02 15:15:51 -04:00
sco.c bluetooth: Properly clone LSM attributes to newly created child connections 2011-10-18 23:36:43 -04:00
smp.c Bluetooth: Remove support for other SMP keys than the LTK 2011-09-21 12:59:16 -03:00