freebsd-dev/sys/dev/usb
Hans Petter Selasky d008478e28 Try to resolve a possible deadlock when detaching USB devices which
create character devices. The deadlock can happen if an application is
issuing IOCTLs which require USB refcounting, at the same time the USB
device is detaching.

There is already a counter in place in the USB device structure to
detect this situation, but it was not always checked ahead of invoking
functions that might destroy character devices, like detach, set
configuration, set alternate interface or detach active kernel driver.

Reported by:	Daniel O'Connor <doconnor@gsoft.com.au>
MFC after:	1 week
2014-03-20 13:53:24 +00:00
..
controller Add device and gadget bindings for fdt. These are preliminary and will 2014-02-28 03:00:31 +00:00
gadget per style(9): 2013-07-24 18:32:15 +00:00
input Fix spelling. 2014-03-17 07:19:19 +00:00
misc Add new USB ID. 2013-04-03 06:45:21 +00:00
net In ue_attach_post_task(), initialize curvnet to vnet0 before calling if_attach(). 2014-02-18 01:20:26 +00:00
quirk Add new quirk. 2014-03-04 12:33:18 +00:00
serial Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
storage Adjust various SCSI drivers to handle either a 32-bit or 64-bit lun_id_t, 2013-10-30 14:04:47 +00:00
template USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
wlan Reset the bit of the R92C_MCUFWDL associated with checksum report 2014-03-14 06:38:22 +00:00
ufm_ioctl.h
usb_bus.h USB method structures for USB controllers and USB pipes should be 2013-12-11 13:20:32 +00:00
usb_busdma.c Fix a regression issue. Contiguous single segment allocations above 2014-02-05 08:02:52 +00:00
usb_busdma.h
usb_cdc.h
usb_compat_linux.c - Try to fix build of 32-bit compatibility USB support for FreeBSD and 2013-08-12 09:17:48 +00:00
usb_compat_linux.h
usb_controller.h Improve the XHCI command timeout recovery handling code. 2013-12-06 08:42:41 +00:00
usb_core.c
usb_core.h Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usb_debug.c
usb_debug.h Always put space before the comma before ##__VA_ARGS__ due to subtle compiler 2013-05-03 10:13:29 +00:00
usb_dev.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_dev.h
usb_device.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_device.h Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_dynamic.c - Add more defines to limit USB memory usage and number of allocations 2013-05-03 11:10:04 +00:00
usb_dynamic.h
usb_endian.h
usb_error.c
usb_freebsd_loader.h Ensure that the DMA delay does not get rounded down to zero ticks when 2014-01-22 07:48:39 +00:00
usb_freebsd.h We are using the old callout API and should also add one extra tick in 2014-01-22 17:50:43 +00:00
usb_generic.c Fix a deadlock when trying to power off a USB device. The deadlock 2013-10-27 10:09:53 +00:00
usb_generic.h
usb_handle_request.c
usb_hid.c
usb_hub.c Fix the ordering of the arguments to printf in 2014-01-29 16:24:50 +00:00
usb_hub.h Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_if.m
usb_ioctl.h - Try to fix build of 32-bit compatibility USB support for FreeBSD and 2013-08-12 09:17:48 +00:00
usb_lookup.c
usb_mbuf.c
usb_mbuf.h
usb_msctest.c Fix some statical clang analyzer warnings. 2013-05-25 17:09:58 +00:00
usb_msctest.h
usb_parse.c Add some defines to limit USB memory usage in reduced memory systems. 2013-05-03 09:23:06 +00:00
usb_pci.h
usb_pf.c The r48589 promised to remove implicit inclusion of if_var.h soon. Prepare 2013-10-26 17:58:36 +00:00
usb_pf.h
usb_process.c Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_process.h Try to resolve a possible deadlock when detaching USB devices which 2014-03-20 13:53:24 +00:00
usb_request.c Implement better error recovery for Transaction Translators, TTs, 2014-01-13 15:21:11 +00:00
usb_request.h - Add more defines to limit USB memory usage and number of allocations 2013-05-03 11:10:04 +00:00
usb_transfer.c Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usb_transfer.h
usb_util.c
usb_util.h
usb.h Import USB RNDIS driver to FreeBSD from OpenBSD. 2014-02-06 08:47:14 +00:00
usbdevs Add new quirk. 2014-03-04 12:33:18 +00:00
usbdi_util.h
usbdi.h Workaround for USB MIDI adapters which use non-supported values of 2014-03-14 08:42:30 +00:00
usbhid.h