Re: PROBLEM: Consistent lock up on >=2.6.8

From: Roland Dreier
Date: Mon Oct 04 2004 - 21:04:51 EST


@@ -2375,7 +2372,7 @@ void ip_vs_control_cleanup(void)
{
EnterFunction(2);
ip_vs_trash_cleanup();
- del_timer_sync(&defense_timer);
+ cancel_delayed_work(&defense_work);

Do we need a flush_scheduled_work() here to be totally safe? Not sure
if it could ever really happen but it seems the module could at least
theoretically be unloaded with update_defense_level() still running...

- Roland
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/