[Xorp-users] Patch for making it harder to crash rib when removing interfaces.

Ben Greear greearb at candelatech.com
Thu Sep 27 09:36:51 PDT 2007


Attached is a patch that helps keep from referencing stale Vif pointers 
in routes when
deleting interfaces.  This may only be trigerable when you have 
non-local routes (ie,
those generated by OSPF).

There are a couple of other changes related to removing interfaces.  I 
still don't have
this working, and these patches are not necessarily correct.  In 
particular, the rib changes
probably should search all of the RIB tables for interfaces if it is not 
found in the unicast ipv4 table.
Or, keep a separate list of Vifs outside of the routing table structures.

Please let me know what you think.

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com> 
Candela Technologies Inc  http://www.candelatech.com


-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorp2.patch
Type: text/x-patch
Size: 13235 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20070927/6e0fdcd1/attachment-0001.bin 


More information about the Xorp-users mailing list