Re: [linux-usb-devel] Re: [OOPS, usbcore, releaseintf] 2.6.0-test10-mm1

From: David Brownell
Date: Mon Dec 08 2003 - 10:57:50 EST


Duncan Sands wrote:
Hi Vince, I'm not sure, but it looks like a bug in the USB core.
I was kind of expecting this :) My patch causes devio.c to hold
a reference to the usb_device maybe long after the device has
been disconnected. This is supposed to be OK, but from your

... no, that's not supposed to be OK. Returning from disconnect()
means that a device driver is no longer referencing the interface
the driver bound to, or ep0.

- Dave



Oops it looks like some part of the hcd was finalized too early
(before devio.c dropped its reference to the usb_device). Maybe
one of the USB guys can comment?



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/