1 Index: quagga-0.99.21/lib/thread.c
2 ===================================================================
3 --- quagga-0.99.21.orig/lib/thread.c
4 +++ quagga-0.99.21/lib/thread.c
5 @@ -916,6 +916,24 @@ thread_cancel_event (struct thread_maste
6 thread_add_unuse (m, t);
10 + /* thread can be on the ready list too */
11 + thread = m->ready.head;
22 + thread_list_delete (&m->ready, t);
23 + t->type = THREAD_UNUSED;
24 + thread_add_unuse (m, t);