0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2025-04-25 16:34:39 +00:00
Ondrej Zajicek d6a836f8d6 Fixes core state machine.
The core state machine was broken - it didn't free resources
in START -> DOWN transition and might freed resources after
UP -> STOP transition before protocol turned down. It leads
to deadlock on olock acquisition when lock was not freed
during previous stop.

The current behavior is that resources, allocated during
DOWN -> * transition, are freed in * -> DOWN transition,
and flushing (scheduled in UP -> *) just counteract
feeding (scheduled in * -> UP). Protocol fell down
when both flushing is done (if needed) and protocol
reports DOWN.

BTW, is thera a reason why neighbour cache item acquired
by protocol is not tracked by resource mechanism?
2008-12-08 12:24:55 +01:00
..
2008-11-16 11:35:30 +01:00
2000-01-19 12:30:19 +00:00
2000-01-19 12:30:19 +00:00
Doc
2000-06-05 12:19:12 +00:00
2000-06-06 11:50:48 +00:00
2008-12-08 12:24:55 +01:00
2008-12-08 12:24:55 +01:00
2000-06-08 12:37:21 +00:00
2004-06-25 16:39:53 +00:00
2000-06-07 12:29:08 +00:00