android_kernel_xiaomi_sm8350/net/bluetooth/hidp
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
..
core.c [Bluetooth] Fix reference count when connection lookup fails 2006-10-15 23:14:32 -07:00
hidp.h
Kconfig [Bluetooth] Let BT_HIDP depend on INPUT 2006-07-12 15:34:33 -07:00
Makefile
sock.c [Bluetooth] Add locking for bt_proto array manipulation 2006-10-15 23:14:34 -07:00