[Xorp-hackers] [greearb/xorp.ct] 32d7b9: xorp: rib: Key for saving resolved route entries i...

GitHub noreply at github.com
Mon Jul 2 22:11:57 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/greearb/xorp.ct
  Commit: 32d7b974021ba9608e1ca46c2c632398cfe3c46c
      https://github.com/greearb/xorp.ct/commit/32d7b974021ba9608e1ca46c2c632398cfe3c46c
  Author: Igor Maravic <igorm at etf.rs>
  Date:   2012-07-02 (Mon, 02 Jul 2012)

  Changed paths:
    M xorp/rib/route.hh
    M xorp/rib/rt_tab_extint.cc
    M xorp/rib/rt_tab_extint.hh

  Log Message:
  -----------
  xorp: rib: Key for saving resolved route entries isn't pointer to IPRouteEntry any more, it's IPNet

When the connected route is deleted, it's first deleted in PolicyConnectedTable and then after that
it's propagated (as different pointer) to other tables.
If the external route is resolved to connected nexthop, and the connected nexthop is deleted,
problem occures because we can't delete the resolved nexthop, because we're searching with different pointer.

Passed all BGP and RIB tests.

Signed-off-by: Igor Maravic <igorm at etf.rs>





More information about the Xorp-hackers mailing list