Re: [PATCH] USB: Use bInterfaceNumber in bandwidth allocations.

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

 



On Fri, Jan 15, 2010 at 11:01:04AM -0800, Greg KH wrote:
> On Tue, Jan 05, 2010 at 02:33:29PM -0800, Sarah Sharp wrote:
> > USB devices do not have to sort interfaces in their descriptors based on
> > the interface number, and they may choose to skip interface numbers.  The
> > USB bandwidth allocation code for installing a new configuration assumes
> > the for loop variable will match the interface number.  Make it use the
> > interface number (bInterfaceNumber) in the descriptor instead.
> 
> Is this a bug that should be backported to the -stable kernels as well?

Yes, this is a bug fix that should be backported.  It's been around
since the xHCI code was first introduced, so it should go into the
2.6.31 and 2.6.32 stable trees.  The commit that introduced the buggy
code was 79abb1ab.

Sarah Sharp
--
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