lkml.org 
[lkml]   [2017]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] usbip: fix usbip attach to find a port that matches the requested speed
On Wed, Nov 29, 2017 at 03:24:22PM -0700, Shuah Khan wrote:
> usbip attach fails to find a free port when the device on the first port
> is a USB_SPEED_SUPER device and non-super speed device is being attached.
> It keeps checking the first port and returns without a match getting stuck
> in a loop.
>
> Fix it check to find the first port with matching speed.
>
> Reported-by: Juan Zea <juan.zea@qindel.com>
> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
> ---
> tools/usb/usbip/libsrc/vhci_driver.c | 14 +++++++++++---
> 1 file changed, 11 insertions(+), 3 deletions(-)

Does this need to go to the stable trees?

thanks,

greg k-h

\
 
 \ /
  Last update: 2017-11-30 09:21    [W:0.492 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site