]> git.openfabrics.org - ~emulex/infiniband.git/commit
Bluetooth: Fix socket not getting freed if l2cap channel create fails
authorJaganath Kanakkassery <jaganath.k@samsung.com>
Thu, 19 Jul 2012 07:24:04 +0000 (12:54 +0530)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 6 Aug 2012 18:19:37 +0000 (15:19 -0300)
commit49dfbb9129c4edb318578de35cc45c555df37884
tree64508a0d4d7cc178f81de89873aa33c630fa9585
parentd08fd0e712a834d4abb869c0215a702e290bc51e
Bluetooth: Fix socket not getting freed if l2cap channel create fails

If l2cap_chan_create() fails then it will return from l2cap_sock_kill
since zapped flag of sk is reset.

Signed-off-by: Jaganath Kanakkassery <jaganath.k@samsung.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/l2cap_sock.c