[PATCH] USB speedtouch: fix speedtouch micro race
The disconnect routine counts the completed_receivers/spare_senders list to see if the completion handler has finished. It then kills the tasklet. However the tasklet was being scheduled after adding to the lists, creating a micro race. So schedule the tasklet before adding to the list.
Showing
Please register or sign in to comment