]> git.proxmox.com Git - mirror_frr.git/commit
lib: fix incorrect thread list processing loops
authorPaul Jakma <paul@quagga.net>
Tue, 28 Feb 2012 18:32:56 +0000 (18:32 +0000)
committerPaul Jakma <paul@quagga.net>
Tue, 28 Feb 2012 18:35:45 +0000 (18:35 +0000)
commitb5043aabb03567b46a16463d88a8afce2acda35e
tree7b975c45bdbf513f62a1ad7f1aad35afb01606c9
parentb51a3a31500133e3e26f12e7639f297c655bc735
lib: fix incorrect thread list processing loops

* thread.c: (thread_timer_process,thread_process) thread_list_delete nulls
  thread->next. Loops need to save next first, or will only process the head.
  Problem noted by Lou Berger <lberger@labn.net>.
lib/thread.c