]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Fix memory leak with L2CAP signal channels
authorMarcel Holtmann <marcel@holtmann.org>
Wed, 2 Oct 2013 15:28:21 +0000 (08:28 -0700)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Wed, 2 Oct 2013 20:17:05 +0000 (17:17 -0300)
commit3b1662952ea9c2c32aac11d60f824fb94b2cf546
tree30dbdf71af1b04d42d61ce8a70eb0c4aa10bde3b
parent2ed01805ee439056f4e1fe182846c029e0a08e49
Bluetooth: Fix memory leak with L2CAP signal channels

The wrong type of L2CAP signalling packets on the wrong type of
either BR/EDR or LE links need to be dropped. When that happens
the packet is dropped, but the memory not freed. So actually
free the memory as well.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_core.c