Am Montag, 14. November 2011, 12:26:28 schrieb David Herrmann: > I also know that wdata lives longer than wdata->ext so I cannot find > any race condition here. I have checked all four entry points of the > extension-module and they all seem fine here. > > As long as wdata->ext is non-NULL, wiiext_schedule may be called. So I > first need to clear wdata->ext before I kill the worker. Otherwise the > worker may be respawned before I reset wdata->ext ;) Hi, thank you for the detailed explanation. Could you include a comment to explain the unusual order things are done in this function? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html