Re: Safe to call usb_kill_urb() against valid URB that hasn't been submitted?

2015-02-17 Thread Alan Stern
On Tue, 17 Feb 2015, Devin Heitmueller wrote: > Hi there, > > I've got a driver which maintains a pool of URBs, properly created via > usb_alloc_urb(). Separately I have a cleanup function which destroys > the pool by looping through the list and calling usb_kill_urb(), > freeing the urb->transf

Safe to call usb_kill_urb() against valid URB that hasn't been submitted?

2015-02-17 Thread Devin Heitmueller
Hi there, I've got a driver which maintains a pool of URBs, properly created via usb_alloc_urb(). Separately I have a cleanup function which destroys the pool by looping through the list and calling usb_kill_urb(), freeing the urb->transfer_buffer, and then calling usb_free_urb(). There are some