From: Greg KH <greg@kroah.com>
To: Jakub Bogusz <qboosh@pld-linux.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.4: Oops on rmmod uhci-hcd when device is still accessed
Date: Thu, 18 Mar 2004 17:12:28 -0800 [thread overview]
Message-ID: <20040319011228.GF19053@kroah.com> (raw)
In-Reply-To: <20040317232203.GA3510@satan.blackhosts>
On Thu, Mar 18, 2004 at 12:22:03AM +0100, Jakub Bogusz wrote:
> It's in drivers/usb/core/devio.c:388:
>
> | down(&dev->serialize);
> | if (test_and_clear_bit(intf, &ps->ifclaimed)) {
> | iface = dev->actconfig->interface[intf];
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> | usb_driver_release_interface(&usbdevfs_driver, iface);
> | err = 0;
> | }
> | up(&dev->serialize);
>
> and looks like dev->actconfig is NULL
Yeah, there's a lot of nasty race conditions with usbfs that have been
around for ages. I think someone on the linux-usb-devel mailing list
has been working on fixing them all up and has a patch set you might be
able to test.
Hope this helps,
greg k-h
prev parent reply other threads:[~2004-03-19 1:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-17 23:22 Jakub Bogusz
2004-03-19 1:12 ` Greg KH [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=20040319011228.GF19053@kroah.com \
--to=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=qboosh@pld-linux.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
Powered by JetHome