WSL2-Linux-Kernel/drivers/staging/usbip
Alan Stern 541c7d432f USB: convert usb_hcd bitfields into atomic flags
This patch (as1393) converts several of the single-bit fields in
struct usb_hcd to atomic flags.  This is for safety's sake; not all
CPUs can update bitfield values atomically, and these flags are used
in multiple contexts.

The flag fields that are set only during registration or removal can
remain as they are, since non-atomic accesses at those times will not
cause any problems.

(Strictly speaking, the authorized_default flag should become atomic
as well.  I didn't bother with it because it gets changed only via
sysfs.  It can be done later, if anyone wants.)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 14:35:37 -07:00
..
Kconfig Staging: usbip: Seperate usbip config debug from CONFIG_USB_DEBUG 2010-03-03 16:42:52 -08:00
Makefile Staging: usbip: Seperate usbip config debug from CONFIG_USB_DEBUG 2010-03-03 16:42:52 -08:00
README
stub.h Staging: usbip: fix multiple interfaces 2010-07-27 11:06:29 -07:00
stub_dev.c Staging: usbip: fix multiple interfaces 2010-07-27 11:06:29 -07:00
stub_main.c Staging: usbip: fix multiple interfaces 2010-07-27 11:06:29 -07:00
stub_rx.c Staging: usbip: fix up build error 2010-07-27 11:12:21 -07:00
stub_tx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
usbip_common.c staging: usbip: usbip_common: kill rx thread on tx thread creation error. 2010-06-30 08:18:14 -07:00
usbip_common.h Staging: usbip: fix typos concerning "sequential" 2010-07-08 13:57:58 -07:00
usbip_event.c staging: usbip: Fix deadlock 2010-04-30 09:30:10 -07:00
vhci.h USB: make hcd.h public (drivers dependency) 2010-05-20 13:21:30 -07:00
vhci_hcd.c USB: convert usb_hcd bitfields into atomic flags 2010-08-10 14:35:37 -07:00
vhci_rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
vhci_sysfs.c USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS 2010-03-02 14:53:36 -08:00
vhci_tx.c staging: usbip: fix coding style issues in the usbip driver 2010-05-11 11:35:46 -07:00

README

TODO:
	- more discussion about the protocol
	- testing
	- review of the userspace interface

Please send patches for this code to Greg Kroah-Hartman <greg@kroah.com>