Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions drivers/usb/usbip/stub_rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,8 @@ static void stub_recv_cmd_submit(struct stub_device *sdev,

if (pipe == -1)
return;
if (!usb_pipeisoc(pipe))
pdu->u.cmd_submit.number_of_packets = 0;

/*
* Smatch reported the error case where use_sg is true and buf_len is 0.
Expand Down
Loading