HomeFreeBSD

Improve handling of USB device re-open in the LibUSB v1.x API.

Description

Improve handling of USB device re-open in the LibUSB v1.x API.

Make sure the "device_is_gone" flag is cleared after every successful open,
so that the "device_is_gone" flag doesn't persist forever.

Found by: sergii.dmytruk@3mdeb.com
PR: 256296
MFC after: 1 week
Sponsored by: Mellanox Technologies // NVIDIA Networking

Details

Provenance
hselaskyAuthored on Jun 11 2021, 3:06 PM
Parents
rGfa3746be4203: tcp: fix two bugs in new reno
Branches
Unknown
Tags
Unknown