USB: rtl8150_disconnect() needs tasklet_kill()
authorAndrew Morton <akpm@osdl.org>
Tue, 15 Aug 2006 06:11:09 +0000 (23:11 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Sep 2006 01:04:30 +0000 (18:04 -0700)
commiteff674a514bd3f59e0cae9b843e0665b576a5ed8
tree624efc633bf91bcb42e55b86f935996812e72eed
parentc9c770ed1fe2698c9a3b18e5fc12d1262e099c0c
USB: rtl8150_disconnect() needs tasklet_kill()

We need to wait until any currently-running handler has completed.  Fixes an
unplug-time oops reported by "Miles Lane" <miles.lane@gmail.com>.

Cc: "Petko Manolov" <petkan@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/rtl8150.c