linux/drivers/staging/usbip
Harvey Yang dcf1477928 staging: usbip: use interrupt safe spinlock to avoid potential deadlock.
The function 'usbip_event_add()' may be called in interrupt context on
the stub side:
'stub_complete'->'stub_enqueue_ret_unlink'->'usbip_event_add'.
In this function it tries to get the lock 'ud->lock', so we should
disable irq when we get this lock in process context.

Signed-off-by: Harvey Yang <harvey.huawei.yang@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-01-22 09:00:10 -08:00
..
userspace staging: usbip: userspace: suppress a bogus error 2013-01-07 12:38:54 -08:00
Kconfig staging: Add angle bracket before and after the URL 2013-01-07 14:56:04 -08:00
Makefile
README staging: usbip: README: we need to document the protocol 2011-06-07 14:08:51 -07:00
stub.h staging: usbip: removed unused structure field 2012-02-09 09:42:22 -08:00
stub_dev.c staging: usbip: use interrupt safe spinlock to avoid potential deadlock. 2013-01-22 09:00:10 -08:00
stub_main.c staging: usbip: fix to prevent potentially using uninitialized spinlock 2012-02-08 14:14:15 -08:00
stub_rx.c staging: usbip: use interrupt safe spinlock to avoid potential deadlock. 2013-01-22 09:00:10 -08:00
stub_tx.c staging: usbip: cleanup of comments 2012-10-22 13:36:29 -07:00
usbip_common.c Staging: usbip: usbipcommon: Fixed single line bracing issue 2013-01-17 16:43:20 -08:00
usbip_common.h staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00
usbip_event.c staging: usbip: use interrupt safe spinlock to avoid potential deadlock. 2013-01-22 09:00:10 -08:00
usbip_protocol.txt staging: Fix typo in multiple files 2012-04-10 10:31:01 -07:00
vhci.h staging: usbip: make rh_port_disconnect static 2012-10-22 13:36:28 -07:00
vhci_hcd.c staging: usbip: remove use of __devexit_p 2012-11-21 15:04:59 -08:00
vhci_rx.c staging: usbip: cleanup of comments 2012-10-22 13:36:29 -07:00
vhci_sysfs.c staging: usbip: Don't leak struct file. 2012-10-22 13:38:04 -07:00
vhci_tx.c staging: usbip: replaced pointer arithmetic, and strongly type function return. 2012-10-22 13:36:28 -07:00

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

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