mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tomas Ögren" <stric@acc.umu.se>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [2.4] "Fix" introduced in 2.4.27pre2 for bluetooth hci_usb race causes kernel hang
Date: Wed, 13 Apr 2005 12:37:58 +0200	[thread overview]
Message-ID: <20050413103758.GA12780@shaka.acc.umu.se> (raw)
In-Reply-To: <1113053955.9783.57.camel@pegasus>

On 09 April, 2005 - Marcel Holtmann sent me these 1,6K bytes:

> Hi Tomas,
> 
> > I have noticed a problem with a race condition fix introduced in
> > 2.4.27-pre2 that causes the kernel to hang when disconnecting a
> > Bluetooth USB dongle or doing 'hciconfig hci0 down'. No message is
> > printed, the kernel just doesn't respond anymore.
> > 
> > Seen in Changelog:
> > Marcel Holtmann:
> >   o [Bluetooth] Fix race in RX complete routine of the USB drivers
> > 
> > Reversing the following patch to hci_usb_rx_complete() makes 2.4.27-pre2
> > up until 2.4.30 happy and does not hang when removing the dongle
> > anymore. (bfusb.c has the same patch applied)
> > 
> > 2.6.11.7 does not show the same problem, but has similar code to the
> > "fixed" (that hangs) code in 2.4, so the real problem is probably
> > somewhere else.
> 
> does the attached patch makes any difference?

It works just fine with pristine 2.4.30 and this patch. No deadlocks
anymore.

/Tomas
-- 
Tomas Ögren, stric@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se

  reply	other threads:[~2005-04-13 10:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-08 19:56 Tomas Ögren
2005-04-09 13:39 ` Marcel Holtmann
2005-04-13 10:37   ` Tomas Ögren [this message]
2005-04-13 21:28     ` 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=20050413103758.GA12780@shaka.acc.umu.se \
    --to=stric@acc.umu.se \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®