public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Nick Pelly <npelly@google.com>
Cc: linux-bluetooth@vger.kernel.org, Jaikumar Ganesh <jaikumar@google.com>
Subject: Re: duplicate L2CAP connection requests - before and after L2CAP information response
Date: Wed, 28 Jan 2009 10:20:05 +0100	[thread overview]
Message-ID: <1233134405.2139.0.camel@violet> (raw)
In-Reply-To: <35c90d960901280116k30f461edod533baa4fb4b5f5@mail.gmail.com>

Hi Nick,

> > I think your kernel is wrongly patched. Don't cherry-pick patches that
> > you don't know the impact of.
> 
> Thanks for testing,
> 
> I've narrowed it down. The rogue patch is in fact ours:
> 
> @@ -916,8 +916,8 @@ static inline void hci_conn_complete_evt(struct
> hci_dev *hdev, struct sk_buff *s
>                 }
>         }
> 
> +       hci_proto_connect_cfm(conn, ev->status);
>         if (ev->status) {
> -               hci_proto_connect_cfm(conn, ev->status);
>                 hci_conn_del(conn);
>         }
> 
> This patch was motivated by a discussion in an earlier thread - see
> conn->state vs conn->sk->sk_state.
> 
> Sorry for the false alarm, I was not initially suspicious of this
> patch because it was not in l2cap.c.

I commented on that one and gave you a proper patch which is also in
bluetooth-testing.git ;)

Regards

Marcel



      reply	other threads:[~2009-01-28  9:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-26 23:29 duplicate L2CAP connection requests - before and after L2CAP information response Nick Pelly
2009-01-27  1:17 ` Marcel Holtmann
2009-01-27  1:38   ` Nick Pelly
2009-01-27  3:06     ` Marcel Holtmann
2009-01-27  4:23       ` Nick Pelly
2009-01-28  8:12         ` Marcel Holtmann
2009-01-28  9:16           ` Nick Pelly
2009-01-28  9:20             ` Marcel Holtmann [this message]

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=1233134405.2139.0.camel@violet \
    --to=marcel@holtmann.org \
    --cc=jaikumar@google.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=npelly@google.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