Re: [PATCH] usbip: host: ignore number_of_packets for non-isoc URBs

From: zjzhao-eda

Date: Fri Sep 04 2026 - 06:08:05 EST


Hi Shuah, all,

Pinging this patch from a couple of weeks ago in case it got lost in
the merge-window noise.

[PATCH] usbip: host: ignore number_of_packets for non-isoc URBs
<20260825033623.332537-1-zjzhao@xxxxxxxxx>

It sanitizes number_of_packets to 0 for non-isochronous endpoints in
the stub, which fixes an -ENOMEM/reset-loop failure with usbip-win
clients on dwc2/dwc_otg hosts. The change is a strict no-op for
well-behaved clients (Linux vhci already sends 0), and it complements
the existing number_of_packets validation added by c6688ef9f297.

Would you like me to rebase/resend, or is there anything I should
adjust? Happy to make any changes.

Thanks for your time and for maintaining usbip.

--
zjzhao-eda
EDATEC Technology Co., Ltd.