All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Jan Kucera <xatrix101@gmail.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: Deadlock in bluetooth/sco.c
Date: Sun, 03 May 2009 18:17:15 -0700	[thread overview]
Message-ID: <1241399835.2899.0.camel@localhost.localdomain> (raw)
In-Reply-To: <ef67228d0905031346q740aa88es5203a64a151de2e@mail.gmail.com>

Hi Jan,

> I've found some possible deadlock in net/bluetooth/sco.c - version
> 2.6.28 (probably this code is in newer versions too).
> Could someone confirm this? Thank you.
> 
> 
> net/bluetooth/sco.c
> ==============
> 
> function sco_conn_ready: (conn <- sk)
> -------------------------------------
> lockig sco_conn_lock(conn) at line 796
> bh_lock_sock(sk)  at line 800
> 
> function  sco_conn_del: (sk <- conn)
> ---------------------------------
> bh_lock_sock(sk); at 154
> calling function sco_chan_del(sk, err); at line 156
>        where at line 767 is sco_conn_lock(conn);

can you please re-test with the bluetooth-testing.git tree so we can
verify that this issue still exists.

Regards

Marcel



  reply	other threads:[~2009-05-04  1:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-03 20:46 Deadlock in bluetooth/sco.c Jan Kucera
2009-05-04  1:17 ` Marcel Holtmann [this message]
     [not found]   ` <9F0C1DB20AFA954FA1DA05309350433D5F913D45@pdsmsx503.ccr.corp.intel.com>
2009-05-05  8:06     ` kernel carsh using Bluez on Netbook platform Xu, Martin
2009-05-05  8:06     ` Xu, Martin
2009-05-05 15:43       ` Marcel Holtmann
2009-05-05 16:08         ` Marcel Holtmann
2009-05-06  2:36           ` Xu, Martin

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=1241399835.2899.0.camel@localhost.localdomain \
    --to=marcel@holtmann.org \
    --cc=linux-bluetooth@vger.kernel.org \
    --cc=xatrix101@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.