public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Pelly <npelly@google.com>
To: Marcel Holtmann <marcel@holtmann.org>
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 01:16:49 -0800	[thread overview]
Message-ID: <35c90d960901280116k30f461edod533baa4fb4b5f5@mail.gmail.com> (raw)
In-Reply-To: <1233130363.18259.33.camel@violet>

Hi Marcel,

On Wed, Jan 28, 2009 at 12:12 AM, Marcel Holtmann <marcel@holtmann.org> wrote:
> 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.

Nick

  reply	other threads:[~2009-01-28  9:16 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 [this message]
2009-01-28  9:20             ` Marcel Holtmann

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=35c90d960901280116k30f461edod533baa4fb4b5f5@mail.gmail.com \
    --to=npelly@google.com \
    --cc=jaikumar@google.com \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=marcel@holtmann.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