linux/drivers/staging/usbip
Max Vozeler d1b2e95ab0 staging: usbip: vhci: fix oops on subsequent attach
vhci_rx/vhci_tx threads are created once but stopped each
time the vdev is shut down. On subsequent attach wake_up_process()
oopses trying to access the stopped threads.

This patch does as before the kthread conversion which is to
create the threads each time a device is attached and stop the
threads when the device is shut down.

Signed-off-by: Max Vozeler <max@hinterhof.net>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
Cc: Arjan Mels <arjan.mels@gmx.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-04-25 17:09:51 -07:00
..
Kconfig staging/usbip: convert to kthread 2011-03-02 16:03:59 -05:00
Makefile Staging: usbip: Makefile: replace the use of <module>-objs with <module>-y 2010-10-08 07:23:42 -07:00
README
stub_dev.c staging: usbip: fix shutdown problems. 2011-04-06 15:51:13 -07:00
stub_main.c staging: usbip: Remove NULL check before kfree 2011-03-14 11:57:37 -07:00
stub_rx.c staging: usbip: bugfixes related to kthread conversion 2011-04-06 15:51:13 -07:00
stub_tx.c staging: usbip: bugfix for isochronous packets and optimization 2011-04-06 15:51:14 -07:00
stub.h staging/usbip: convert to kthread 2011-03-02 16:03:59 -05:00
usbip_common.c staging: usbip: bugfix for isochronous packets and optimization 2011-04-06 15:51:14 -07:00
usbip_common.h staging: usbip: bugfix for isochronous packets and optimization 2011-04-06 15:51:14 -07:00
usbip_event.c staging/usbip: convert to kthread 2011-03-02 16:03:59 -05:00
vhci_hcd.c staging: usbip: vhci: fix oops on subsequent attach 2011-04-25 17:09:51 -07:00
vhci_rx.c staging: usbip: bugfix for isochronous packets and optimization 2011-04-06 15:51:14 -07:00
vhci_sysfs.c staging: usbip: vhci: fix oops on subsequent attach 2011-04-25 17:09:51 -07:00
vhci_tx.c staging/usbip: convert to kthread 2011-03-02 16:03:59 -05:00
vhci.h staging/usbip: convert to kthread 2011-03-02 16:03:59 -05:00

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>