freebsd-skq/lib/libusb
Hans Petter Selasky 540c72297d Fix issues about cancelling USB transfers in LibUSB when the USB device has
been detached. When a USB device has been detached the kernel file handle
stops responding to commands. USB applications which continue to run after
the USB device has been detached, depend on LibUSB generated events to tear
down its pending USB transfers. Add code to handle the needed cleanup when
processing the USB transfer(s) fails and prevent new USB transfer(s) from
being submitted.

Found by:		Ludovic Rousseau <ludovic.rousseau+freebsd@gmail.com>
PR:			231076
MFC after:		1 week
Approved by:		re (gjb)
Sponsored by:		Mellanox Technologies
2018-09-12 15:06:30 +00:00
..
libusb01.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb10_desc.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb10_hotplug.c Implement libusb_hotplug_register_callback() and 2016-06-22 10:38:41 +00:00
libusb10_io.c Fix issues about cancelling USB transfers in LibUSB when the USB device has 2018-09-12 15:06:30 +00:00
libusb10.c Fix issues about cancelling USB transfers in LibUSB when the USB device has 2018-09-12 15:06:30 +00:00
libusb10.h Fix issues about cancelling USB transfers in LibUSB when the USB device has 2018-09-12 15:06:30 +00:00
libusb20_desc.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb20_desc.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb20_int.h Allow the libusb20_dev_get_port_path() function to be called when the 2018-03-23 09:40:41 +00:00
libusb20_ugen20.c Allow the libusb20_dev_get_port_path() function to be called when the 2018-03-23 09:40:41 +00:00
libusb20.3
libusb20.c Improve the userspace USB string reading function in LibUSB. 2018-06-26 16:00:16 +00:00
libusb20.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb_global_linux.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
libusb-0.1.pc
libusb-1.0.pc
libusb-2.0.pc
libusb.3 Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
libusb.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
Makefile Add support for USB streams to the LibUSB v1.0 API and update the 2016-06-23 07:12:22 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
usb.h lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00