Mat Martineau 61d6ef3e34 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>
2012-05-09 01:40:49 -03:00
..
2012-04-15 12:44:40 -04:00
2012-04-02 04:33:44 -04:00
2012-04-15 12:44:40 -04:00
2012-04-16 21:08:18 +02:00
2012-04-25 19:47:17 -04:00
2012-05-08 20:25:42 +02:00
2012-05-08 20:25:42 +02:00
2012-04-15 12:44:40 -04:00
2012-04-15 12:44:40 -04:00
2012-04-21 16:24:20 -04:00