From: Marcel Holtmann <marcel@holtmann.org>
To: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: regression introduced on v2.6.30-rc1
Date: Tue, 23 Jun 2009 17:06:12 +0200 [thread overview]
Message-ID: <1245769572.15367.80.camel@violet> (raw)
In-Reply-To: <2d5a2c100906230801q6bd68397y34b5aa138fee5fe2@mail.gmail.com>
Hi Luiz,
> > what about just triggering the timer and then sending DISC for DLCI 0. I
> > don't see a big benefit for this reference counting overhead.
> >
> > When we send the DISC, we will receive UA and thus get the required
> > rfcomm_session_put() that then leads to the ACL disconnect.
>
> Hmm, that seems to work too and is what we are doing in case of
> receiving a DM, but there is a chance that the remote stack doesn't
> respond the DISC in that case we can also use the session timer to
> timeout. Anyway I don't think such broken stack exist, although we do
> set timeout when sending DISC to a specific DLCI, so lets leave this
> for latter when he actually have a real offender which doesn't respond
> with UA.
>
> Moving ahead, what about the timeout, 20 seconds seems too much
> doesn't it? Are you fine with the places where I clear the timer?
the timeout should be 2 seconds. At most 5 seconds.
I still prefer if we just send DISC and then wait for the remote stack
to do the right thing. If it doesn't then that stack is so broken that
whatever we try to do is wrong anyway at that point.
Regards
Marcel
next prev parent reply other threads:[~2009-06-23 15:06 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-09 13:17 regression introduced on v2.6.30-rc1 Luiz Augusto von Dentz
2009-06-21 14:08 ` Luiz Augusto von Dentz
2009-06-21 14:48 ` Marcel Holtmann
2009-06-21 16:30 ` Luiz Augusto von Dentz
2009-06-21 16:58 ` Marcel Holtmann
2009-06-21 17:47 ` Luiz Augusto von Dentz
2009-06-21 19:04 ` Marcel Holtmann
2009-06-22 21:49 ` Luiz Augusto von Dentz
2009-06-22 23:08 ` Luiz Augusto von Dentz
2009-06-23 13:51 ` Luiz Augusto von Dentz
2009-06-23 14:40 ` Marcel Holtmann
2009-06-23 15:01 ` Luiz Augusto von Dentz
2009-06-23 15:06 ` Marcel Holtmann [this message]
2009-06-23 18:04 ` Stefan Seyfried
2009-06-23 18:13 ` Luiz Augusto von Dentz
2009-06-23 18:56 ` Luiz Augusto von Dentz
2009-06-25 13:14 ` Luiz Augusto von Dentz
2009-06-30 20:18 ` Luiz Augusto von Dentz
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=1245769572.15367.80.camel@violet \
--to=marcel@holtmann.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=luiz.dentz@gmail.com \
/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