3) the transfer callback will report a status of LIBUSB_TRANSFER_CANCELLED despite libusb_cancel_transfer reporting a failure to cancel! Given all of the above this patch modifies discard_urbs to treat an errno of EINVAL as success, since this simply means that an *unreaped*...