Skip to contentSkip to conversation

ehea: Fixed missing tasklet_kill() call

PATCH In review Thomas Klein 1 participant 1 message Jan 29, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ehea: Fixed missing tasklet_kill() call

NEQ-Tasklet wasn't killed when module is removed.

---

 drivers/net/ehea/ehea_main.c |    1 +
 1 files changed, 1 insertion(+)
drivers/net/ehea/ehea_main.c +1 -0
diff -Nurp -X dontdiff linux-2.6.20-rc6/drivers/net/ehea/ehea_main.c patched_kernel/drivers/net/ehea/ehea_main.c
@@ -2598,6 +2598,7 @@ static int __devexit ehea_remove(struct 
 	destroy_workqueue(adapter->ehea_wq);
 
 	ibmebus_free_irq(NULL, adapter->neq->attr.ist1, adapter);
+	tasklet_kill(&adapter->neq_tasklet);
 
 	ehea_destroy_eq(adapter->neq);