projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69163e
)
Bluetooth: Fix memory leak of S-frames into L2CAP
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Sat, 1 May 2010 19:15:35 +0000
(16:15 -0300)
committer
Marcel Holtmann
<marcel@holtmann.org>
Mon, 10 May 2010 07:28:45 +0000
(09:28 +0200)
l2cap_data_channel do not free the S-frame, so we free it here.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Reviewed-by: João Paulo Rechi Vita <jprvita@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 c9a848d3ef94e17f2c28bb0f66c3cb4582d8ced6..46f22640a337d971cf6d7732c8f79efc66d46fab 100644
(file)
--- a/
net/bluetooth/l2cap.c
+++ b/
net/bluetooth/l2cap.c
@@
-3522,6
+3522,7
@@
static inline int l2cap_data_channel_sframe(struct sock *sk, u16 rx_control, str
break;
}
+ kfree_skb(skb);
return 0;
}