Go through del_timer otherwise in_list will not be reset leading to crashes...

This commit is contained in:
Harald Welte 2009-01-03 04:39:51 +00:00
parent 599639eaf9
commit 1272aab1cd
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ restart:
llist_for_each_entry_safe(timer, tmp, &timer_list, entry) {
timer->handled = 0;
if (!timer->active) {
llist_del(&timer->entry);
del_timer(timer);
}
}
}