usbip: fix device disconnect loop with isoc endpoints
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | usbip: drain remaining PDU payload on rejected endpointdrivers/ | +59 | 0 replies | |
| 2/2 | usbip: block SET_INTERFACE for isoc alt settingsdrivers/ | +36 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] usbip: fix device disconnect loop with isoc endpoints
Forwarding a USB device with isochronous endpoints over USB/IP causes a disconnect/reconnect loop. Hit this with a Turtle Beach Velocity One Flight yoke (10f5:7001) forwarded to a VM.
The first patch fixes a TCP stream desync: when get_pipe() returns -1, the remaining PDU payload stays on the socket and corrupts the next header parse. The second patch prevents activation of alt settings with isoc endpoints, since USB/IP cannot forward them and the failed transfers cascade into a device disconnect.
Sascha Grunert (2):
usbip: drain remaining PDU payload on rejected endpoint
usbip: block SET_INTERFACE for isoc alt settings
drivers/usb/usbip/stub_rx.c | 96 ++++++++++++++++++++++++++++++++++++- 1 file changed, 95 insertions(+), 1 deletion(-)
Signature · 1 line
2.52.0