OpenCloudOS-Kernel/net/bluetooth/cmtp
Marcel Holtmann 74da626a10 [Bluetooth] Add locking for bt_proto array manipulation
The bt_proto array needs to be protected by some kind of locking to
prevent a race condition between bt_sock_create and bt_sock_register.

And in addition all calls to sk_alloc need to be made GFP_ATOMIC now.

Signed-off-by: Masatake YAMATO <jet@gyve.org>
Signed-off-by: Frederik Deweerdt <frederik.deweerdt@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
2006-10-15 23:14:34 -07: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
capi.c [Bluetooth] Remaining transitions to use kzalloc() 2006-07-12 15:34:28 -07:00
cmtp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core.c [Bluetooth] Remaining transitions to use kzalloc() 2006-07-12 15:34:28 -07:00
sock.c [Bluetooth] Add locking for bt_proto array manipulation 2006-10-15 23:14:34 -07:00