[Xorp-cvs] XORP cvs commit: xorp/bgp
Pavlin Radoslavov
pavlin at icir.org
Wed May 31 18:25:00 PDT 2006
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin at xorpc.icir.org 2006-06-01 01:25:00 UTC
XORP CVS repository
Modified files:
bgp route_table_ribin.cc
Log message:
Add an explicit check at the beginning of
RibInTable<A>::push_next_changed_nexthop() whether there are any
nexthops to push.
This fixes a coredump problem if we are exporting, say, static routes
and we disconnect and reconnect the network cable 2+ times
(waiting long enough after each disconnection/connection for XORP
to notice it).
Typically, after the second disconnection bgp would coredump,
because of a race condition: push_next_changed_nexthop() has
been scheduled after 0ms, but before it is executed the
policy_redist4/0.1/delete_route4 XRL is received, and its processing
invalidates the _current_chain iterator (and the corresponding
_nexthop_push_active flag).
Revision Changes Path
1.44 +9 -1; commitid: ce67447e40687ea6; xorp/bgp/route_table_ribin.cc
More information about the Xorp-cvs
mailing list