alistair23-linux/net/bluetooth/bnep
David Herrmann 9b338c3dd1 Bluetooth: bnep: 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:29:25 -02:00
..
bnep.h Bluetooth: bnep: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
core.c Bluetooth: bnep: Fix module reference 2011-11-21 14:29:25 -02:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netdev.c net: remove use of ndo_set_multicast_list in drivers 2011-08-17 20:22:03 -07:00
sock.c Bluetooth: Use #include <linux/uaccess.h> instead of <asm/uaccess.h> 2011-03-31 14:22:55 -03:00