Re: [PATCH] USB: usbfs: allow URBs to be reaped after disconnection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2015-01-29 at 12:53 -0500, Alan Stern wrote:
> On Thu, 29 Jan 2015, Oliver Neukum wrote:
> 
> > On Thu, 2015-01-29 at 11:29 -0500, Alan Stern wrote:
> > > The usbfs API has a peculiar hole: Users are not allowed to reap their
> > > URBs after the device has been disconnected.  There doesn't seem to be
> > > any good reason for this; it is an ad-hoc inconsistency.
> > 
> > How many URBs can you queue this way?
> 
> I don't understand the question.  Are you asking how many URBs can be 
> queued via usbfs?  It's limited only by the restriction on the total 
> memory usage (see usbfs_memory_mb in devio.c).

To be absolutely truthful, I am worried about resource leaks.
But I cannot really put my finger onto a concrete problem.
I see no bug with the patch.

	Sorry
		Oliver

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




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux