From: Max Vozeler Date: Mon, 18 Apr 2011 19:44:10 +0000 (+0200) Subject: staging: usbip: vhci: fix oops on subsequent attach X-Git-Tag: v2.6.39-rc7~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1b2e95ab016a0c5b01748986f6ce42e9d11cab2;p=pandora-kernel.git 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 Cc: Arnd Bergmann Cc: Takahiro Hirofuchi Cc: Arjan Mels Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed