git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bluetooth] Add locking for bt_proto array manipulation
[pandora-kernel.git]
/
net
/
bluetooth
/
hidp
/
sock.c
diff --git
a/net/bluetooth/hidp/sock.c
b/net/bluetooth/hidp/sock.c
index
6242446
..
407fba4
100644
(file)
--- a/
net/bluetooth/hidp/sock.c
+++ b/
net/bluetooth/hidp/sock.c
@@
-256,7
+256,7
@@
static int hidp_sock_create(struct socket *sock, int protocol)
if (sock->type != SOCK_RAW)
return -ESOCKTNOSUPPORT;
- sk = sk_alloc(PF_BLUETOOTH, GFP_
KERNEL
, &hidp_proto, 1);
+ sk = sk_alloc(PF_BLUETOOTH, GFP_
ATOMIC
, &hidp_proto, 1);
if (!sk)
return -ENOMEM;