Skip to content

Commit 770b2ed

Browse files
ydu19gregkh
authored andcommitted
usbip: Fix USB device hang due to wrong enabling of scatter-gather
The previous USB3 SuperSpeed enabling patches mistakenly enabled URB scatter-gather chaining, which is actually not supported by the VHCI HCD. This patch fixes that. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197867 Fixes: 03cd00d ("usbip: vhci-hcd: Set the vhci structure up to work") Reported-by: Juan Zea <juan.zea@qindel.com> Signed-off-by: Yuyang Du <yuyang.du@intel.com> Cc: stable <stable@vger.kernel.org> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 05bccce commit 770b2ed

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/usb/usbip/vhci_hcd.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,6 @@ static int hcd_name_to_id(const char *name)
10981098
static int vhci_setup(struct usb_hcd *hcd)
10991099
{
11001100
struct vhci *vhci = *((void **)dev_get_platdata(hcd->self.controller));
1101-
hcd->self.sg_tablesize = ~0;
11021101
if (usb_hcd_is_primary_hcd(hcd)) {
11031102
vhci->vhci_hcd_hs = hcd_to_vhci_hcd(hcd);
11041103
vhci->vhci_hcd_hs->vhci = vhci;

0 commit comments

Comments
 (0)