[Xorp-cvs] XORP cvs commit: xorp/bgp

Andrea Bittau abittau@icir.org
Thu, 11 Aug 2005 18:41:31 GMT


CVSROOT:	/usr/local/www/data/cvs
Module name:	xorp
Changes by:	abittau@xorpc.icir.org	2005-08-11 18:41:31 UTC

XORP CVS repository


Modified files:
	bgp           route_table_policy_sm.cc route_table_policy_sm.hh 

Log message:
	Attempt to fix a bug when policy route pushing while a peer is deleted.
	
	* Basically, a policy route dump has a pointer to the rib-in route_table [dump
	  iterator]
	
	* On a deletion, the route_table will go in a deletion table, and the new
	  route_table will be empty.
	
	* On route dump, the deletion table will get a delete from the old route_table
	  pointer, which is now in the delete table too... and it dies.
	
	* I needed to intercept the peering_went_down messages and propagate them to the
	  dump iterator, in order to sort this out [i.e. get the deleted peer out of the
	  iterator].
	
	The explanation / fix is a bit bad, because I didn't spend too much time on it.
	Hopefully I didn't break something.

Revision  Changes                              Path
1.5       +41 -1;  commitid: f3e42fb9ad67ea6;  xorp/bgp/route_table_policy_sm.cc
1.5       +22 -1;  commitid: f3e42fb9ad67ea6;  xorp/bgp/route_table_policy_sm.hh