Re: [PATCH] USB: EHCI: fix for leaking isochronous data

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

 



On Wed, Jan 30, 2013 at 04:35:02PM -0500, Alan Stern wrote:
> This patch (as1653) fixes a bug in ehci-hcd.  Unlike iTD entries, an
> siTD entry in the periodic schedule may not complete until the frame
> after the one it belongs to.  Consequently, when scanning the periodic
> schedule it is necessary to start with the frame _preceding_ the one
> where the previous scan ended.
> 
> Not doing this properly can result in memory leaks and failures to
> complete isochronous URBs.
> 
> Signed-off-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>
> Reported-by: Andy Leiserson <andy@xxxxxxxxxxxxx>
> 
> ---
> 
> Greg:
> 
> This patch is for 3.8.  The same problem exists in 3.6 and 3.7, but the
> code has changed in the meantime so they need a different patch.  
> Should I submit that one after this has been merged?

Yes, I've marked this for stable (don't care about 3.6, that tree is
end-of-life.)  When you get the "this patch failed" email from my
scripts trying to apply this to the 3.7 kernel tree, feel free to send
me the fixed version for that kernel.

thanks,

greg k-h
--
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