diff options
author | Max Vozeler <max@hinterhof.net> | 2011-04-18 21:44:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-04-25 17:09:51 -0700 |
commit | d1b2e95ab016a0c5b01748986f6ce42e9d11cab2 (patch) | |
tree | c79cd57a4acf50e485eeebc552ac045cd48c98af /crypto/rmd160.c | |
parent | 9f908a9eaa94f07265811c59b740a4608d3dfc96 (diff) | |
download | linux-d1b2e95ab016a0c5b01748986f6ce42e9d11cab2.tar.gz linux-d1b2e95ab016a0c5b01748986f6ce42e9d11cab2.tar.bz2 linux-d1b2e95ab016a0c5b01748986f6ce42e9d11cab2.zip |
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>
Diffstat (limited to 'crypto/rmd160.c')
0 files changed, 0 insertions, 0 deletions