[Xorp-cvs] XORP cvs commit: xorp/policy
Andrea Bittau
abittau at icir.org
Mon Nov 3 00:31:57 PST 2008
CVSROOT: /usr/local/www/data/cvs
Module name: xorp
Changes by: abittau at chum.icir.org 2008-11-03 08:31:57 UTC
XORP CVS repository
Modified files:
policy filter_manager.cc
Log message:
Fix bug 793.
This actually fixes another bug which indirectly fixes 793. When a process is
born, we reconfigure its filters and then push routes. Before, the logic would
not push routes to avoid extra work (pushing is expensive) because the project
just started so it has no routes. Well, there's no guarantee that the process
doesn't aquire routes by the time the filters are actually configured. We
therefore have to push routes anyway. Processes that want to avoid this extra
work can wait, while booting up, for this push message which implicitly
indicates that filter configuration has finished. BGP does this for example.
Bug 793 existed becuase BGP would wait for this message that was never sent due
to the policy manager "optimization" (aka. avoid push bug). In practice this
bug is difficult to trigger because BGP always configures its filters (even with
a "null" configuration) which will causse a route push. However if the policy
manager received BGP's configuration prior to the notification of BGP's birth,
the bug is triggered. Typically the events occur in reverse order (hence not
causing the bug), but this is purely based on scheduling.
Bugzilla URL: http://bugzilla.xorp.org/bugzilla/show_bug.cgi?id=793
Revision Changes Path
1.23 +8 -4; commitid: 13a2d490eb6a241a7; xorp/policy/filter_manager.cc
More information about the Xorp-cvs
mailing list