ChangeSet 1.879.84.5, 2003/01/15 13:22:47-08:00, [EMAIL PROTECTED]

[PATCH] USB: kill speedtouch tasklet when shutdown

  speedtouch: kill receive queue tasklet on shutdown (race pointed
out by Oliver Neukum).


diff -Nru a/drivers/usb/misc/speedtouch.c b/drivers/usb/misc/speedtouch.c
--- a/drivers/usb/misc/speedtouch.c     Wed Jan 15 14:58:40 2003
+++ b/drivers/usb/misc/speedtouch.c     Wed Jan 15 14:58:40 2003
@@ -775,6 +775,8 @@
                ctx->skb = NULL;
        }
 
+       tasklet_kill (&instance->recvqueue_tasklet);
+
        for (i = 0; i < UDSL_NUMBER_SND_URBS; i++) {
                struct udsl_usb_send_data_context *ctx = &(instance->send_ctx[i]);
 



-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to