summaryrefslogtreecommitdiff
path: root/lib/pqueue.h
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 15:17:31 +0000
committerDavid Lamparter <equinox@diac24.net>2012-05-21 15:41:21 +0200
commit1b79fcb646f66682a62cf34f3cc343b1a9706699 (patch)
tree6b9b215b3bac9b46027266fff10a6c53e2665624 /lib/pqueue.h
parent7c9c6aebe8daabece9e78d47727dcdcb757c0a63 (diff)
lib: fix thread_cancel_event()
ospfd was crashing some times on neighbour going down. The cause was that ospf_nsm_event() was accessing already freed memory in ospf_nbr_delete() call from ospf_nsm_event(). What happens is that since commit b5043aab (lib: fix incorrect thread list...) now a thread can be on the event and ready lists but thread_cancel_event() doesn't account for that. * thread.c: (thread_cancel_event) loop on the ready list too to cancel pending events. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/pqueue.h')
0 files changed, 0 insertions, 0 deletions