projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cdf096
)
Bluetooth: Fix bug in kzalloc allocation size
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Fri, 9 Jul 2010 19:38:34 +0000
(16:38 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Wed, 21 Jul 2010 17:39:11 +0000
(10:39 -0700)
Probably a typo error. We were using the wrong struct to get size.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/l2cap.c
patch
|
blob
|
blame
|
history
diff --git
a/net/bluetooth/l2cap.c
b/net/bluetooth/l2cap.c
index e366be0792cbadcb3e171c2e850cf343f4ef5636..419e2c3306aae819dbcd3d9def24f398f7f3916d 100644
(file)
--- a/
net/bluetooth/l2cap.c
+++ b/
net/bluetooth/l2cap.c
@@
-530,7
+530,7
@@
static void l2cap_conn_start(struct l2cap_conn *conn)
conn->feat_mask)
&& l2cap_pi(sk)->conf_state &
L2CAP_CONF_STATE2_DEVICE) {
- tmp1 = kzalloc(sizeof(struct s
rej
_list),
+ tmp1 = kzalloc(sizeof(struct s
ock_del
_list),
GFP_ATOMIC);
tmp1->sk = sk;
list_add_tail(&tmp1->list, &del.list);