]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix memory leaks due to chan refcnt
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>
Fri, 23 Mar 2012 07:42:15 +0000 (09:42 +0200)
committerGustavo Padovan <gustavo@padovan.org>
Wed, 28 Mar 2012 15:02:39 +0000 (12:02 -0300)
commit65ccf9f9572fe2005fea4497966424ef45135893
tree1fce3c7c9832a276399c47c407c2163f8d7dcbe6
parent3e2938f8392da0b609a39cce47bf6a65077b4c67
Bluetooth: Fix memory leaks due to chan refcnt

When we queue delayed work we hold(chan) and delayed work
shall put(chan) after execution.

Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
net/bluetooth/l2cap_core.c