]> git.baikalelectronics.ru Git - kernel.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)
commit893a8138d390e70aab5b07db54d447c9bf5f98c0
tree64508a0d4d7cc178f81de89873aa33c630fa9585
parent4eecabb22d5fe7f9e783cf6bb73f91c710799723
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