[Xorp-hackers] Question on RIB
Ben Greear
greearb at candelatech.com
Fri Oct 26 15:37:27 PDT 2007
I found the problem: The Vif reuse logic wasn't quite right:
(rib.cc)
@@ -509,14 +524,18 @@
new_rib_vif->set_deleted(false);
_deleted_vifs.erase(vi);
new_rib_vif->copy_in(vif);
+ _vifs[vifname] = new_rib_vif;
+ debug_msg("Reused previously deleted vif\n");
} else {
// Create a new vif
I'm attaching a full patch with more debugging logic for rib
in case you'd care to apply it.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xorp.patch
Type: text/x-patch
Size: 2604 bytes
Desc: not available
Url : http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20071026/723ba7d5/attachment.bin
More information about the Xorp-hackers
mailing list