Re: [linux-usb-devel] Re: [BUG] oops while completing async USB via usbdevio
From: David Brownell
Date: Mon May 30 2005 - 18:20:07 EST
On Monday 30 May 2005 4:09 pm, Oliver Neukum wrote:
> Am Dienstag, 31. Mai 2005 00:55 schrieb David Brownell:
> > The logic closing an open usbfs file -- which is done before any task
> > exits with such an open file -- is supposed to block till all its URBs
> > complete. So the pointer to the task "should" be valid for as long as
> > any URB it's submitted is active.
>
> What happens if you pass such an fd through a socket?
Why I suppose then you might find glitches in the design underlying
the usbfs code. I put "should" in scare-quotes for a reason.
-
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/