Skip to content

Server wrongly assumes devices are no longer used after unlink command #39

@florg-32

Description

@florg-32

In the current implementation, the server removes a USB device from its used_device list when it receives USBIP_CMD_UNLINK.

This however leads to issues when multiple URBs are unlinked (wrongly triggers usbip_ret_unlink_fail) or when attempting to submit an URB afterwards (panics on current_import_device.unwrap()). Looking at the USB/IP protocol (3rd diagram) both things should be possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions