From: Gustavo Padovan <gustavo@padovan.org>
To: Claudio Takahasi <claudio.takahasi@openbossa.org>
Cc: linux-bluetooth@vger.kernel.org,
Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Subject: Re: [PATCH v1] Bluetooth: Add rejecting SCO
Date: Thu, 11 Apr 2013 16:44:55 -0300 [thread overview]
Message-ID: <20130411194455.GG28775@joana> (raw)
In-Reply-To: <1365699296-22260-1-git-send-email-claudio.takahasi@openbossa.org>
Hi Claudio,
* Claudio Takahasi <claudio.takahasi@openbossa.org> [2013-04-11 13:54:56 -0300]:
> This patch sends Reject Synchronous Connection Request Command when
> hci_conn_timeout is triggered, and the SCO connection is in BT_CONNECT2
> state. It prevents inconsistency if the remote host doesn't implement
> properly the timeout for the connection request, and it removes the
> connection reference left when the socket is closed for incoming SCO
> connections.
>
> [ 2650.129080] sco_sock_release: sock ffff8801ca417400, sk ffff88020c408800
> [ 2650.129092] sco_sock_clear_timer: sock ffff88020c408800 state 6
> [ 2650.129101] __sco_sock_close: sk ffff88020c408800 state 6 socket
> ffff8801ca417400
> [ 2650.129108] sco_chan_del: sk ffff88020c408800, conn ffff8801c650ea20,
> err 104
> [ 2650.129114] hci_conn_put: hcon ffff88020c40a800 orig refcnt 1
> [ 2650.129128] sco_sock_kill: sk ffff88020c408800 state 9
> [ 2650.129135] sco_sock_destruct: sk ffff88020c408800
> [ 2650.138468] hci_conn_timeout: hcon ffff88020c40a800 state BT_CONNECT2
>
> Signed-off-by: Claudio Takahasi <claudio.takahasi@openbossa.org>
> Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
> ---
> net/bluetooth/hci_conn.c | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
Patch has been applied to bluetooth-next with an improved commit subject.
Thanks.
Gustavo
next prev parent reply other threads:[~2013-04-11 19:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 14:35 [PATCH] Bluetooth: Fix SCO connection reference Claudio Takahasi
2013-04-11 14:35 ` [PATCH] Bluetooth: Add rejecting SCO Claudio Takahasi
2013-04-11 14:52 ` Anderson Lizardo
2013-04-11 16:54 ` [PATCH v1] " Claudio Takahasi
2013-04-11 19:44 ` Gustavo Padovan [this message]
2013-04-11 14:35 ` [PATCH] Bluetooth: Remove unneeded parameter Claudio Takahasi
2013-04-11 16:55 ` [PATCH v1] " Claudio Takahasi
2013-04-11 19:43 ` Gustavo Padovan
2013-04-11 14:35 ` [PATCH] Bluetooth: Use GFP_KERNEL in sco_conn_add Claudio Takahasi
2013-04-11 19:37 ` Gustavo Padovan
2013-04-11 14:35 ` [PATCH] Bluetooth: Minor coding style fix Claudio Takahasi
2013-04-11 19:38 ` Gustavo Padovan
2013-04-11 16:53 ` [PATCH v1] Bluetooth: Fix SCO connection reference Claudio Takahasi
2013-04-11 19:36 ` [PATCH] " Gustavo Padovan
2013-04-11 19:39 ` Gustavo Padovan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130411194455.GG28775@joana \
--to=gustavo@padovan.org \
--cc=claudio.takahasi@openbossa.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=vinicius.gomes@openbossa.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox