diff options
author | Mat Martineau <mathewm@codeaurora.org> | 2012-04-28 01:50:50 +0200 |
---|---|---|
committer | Gustavo Padovan <gustavo@padovan.org> | 2012-05-09 06:40:49 +0200 |
commit | 61d6ef3e3408cdf7e622646fb90a9f7f9560b943 (patch) | |
tree | b8a711d6cb948ec81749aa8b06a53a8e2dac0b37 /drivers | |
parent | Bluetooth: Remove unused function (diff) | |
download | linux-61d6ef3e3408cdf7e622646fb90a9f7f9560b943.tar.xz linux-61d6ef3e3408cdf7e622646fb90a9f7f9560b943.zip |
Bluetooth: Make better use of l2cap_chan reference counting
L2CAP sockets contain a pointer to l2cap_chan that needs to be
reference counted in order to prevent a possible dangling pointer when
the channel is freed.
There were a few other cases where an l2cap_chan pointer on the stack
was dereferenced after a call to l2cap_chan_del. Those pointers are
also now reference counted.
Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions