• Duncan Sands's avatar
    [PATCH] USB speedtouch: fix speedtouch micro race · 8c6c4484
    Duncan Sands authored
    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.
    8c6c4484
speedtouch.c 32.5 KB