mirror_frr/zebra
Donald Sharp c5f7794faa Zebra: Ensure we compare prefix and NHs when checking if NH changed
In nexthop tracking, the code currently compares the nexthop state of the
resolved_route for a prefix with the previous nexthop state. However, if
the resolved route itself changes, we can end up comparing the RIBs of
unrelated prefixes and assuming that nothing has changed. To fix this, we
need to store and compare the new resolved route with the previously
resolved route. If this has changed, assume the NH associated with a route
has changed.

Signed-off-by: Dinesh G Dutt <ddutt@cumulusnetworks.com>
Reviewed-by:   Vivek Venkataraman <vivek@cumulusnetworks.com>
2015-05-19 18:04:16 -07:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c babeld: Initial import, for Babel routing protocol. 2012-03-25 17:06:51 +01:00
connected.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
connected.h Unnumbered interface support. 2015-05-19 17:58:13 -07:00
debug.c nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
debug.h nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
GNOME-PRODUCT-ZEBRA-MIB Initial revision 2002-12-13 20:15:29 +00:00
GNOME-SMI Initial revision 2002-12-13 20:15:29 +00:00
if_ioctl_solaris.c [zebra/solaris] fix if_get_index passing wrong arg to lifreq_set_name 2007-04-29 17:32:08 +00:00
if_ioctl.c [PtP over ethernet] New peer flag allows much more addressing flexibility 2006-12-12 19:18:21 +00:00
if_netlink.c zebra: add missing includes 2011-09-27 21:42:14 +04:00
if_proc.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
if_sysctl.c [zebra] fix inconsistencies in ifstat_update_* declarations and definitions 2006-08-06 15:57:59 +00:00
interface.c Unnumbered interface support. 2015-05-19 17:58:13 -07:00
interface.h This patch adds support for a new BFD session down message from zebra to 2015-05-19 17:47:23 -07:00
ioctl_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
ioctl_solaris.c Fixed ioctl_solaris.c:if_get_mtu() for IPv6'less operation 2007-08-21 16:12:40 +00:00
ioctl.c zebra: fix argument reference in strncpy() call for BSD 2009-12-03 21:14:16 +03:00
ioctl.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
ipforward_aix.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_ews.c Initial revision 2002-12-13 20:15:29 +00:00
ipforward_proc.c zebra: fix warnings in forward proc 2011-12-07 01:24:09 +04:00
ipforward_solaris.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward_sysctl.c 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
ipforward.h 2005-06-28 Paul Jakma <paul.jakma@sun.com> 2005-06-28 17:17:12 +00:00
irdp_interface.c fix set never used warnings 2011-12-18 20:21:21 +04:00
irdp_main.c zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
irdp_packet.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
irdp.h zebra: deal with irdp compile warnings 2009-12-10 14:22:44 +03:00
kernel_netlink.c Initial revision 2002-12-13 20:15:29 +00:00
kernel_null.c build: fix "pragma weak" mixups 2013-02-09 03:00:12 +01:00
kernel_socket.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
kernel_socket.h [lib] mes_lookup string lookup table argument should be marked const 2008-08-22 19:52:58 +01:00
main.c zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
Makefile.am bgpd: bgpd-event-driven-route-map-updates.patch 2015-05-19 17:40:45 -07:00
misc_null.c testzebra: pragma weak: detect systems with weak alias and provide alternative 2013-01-11 21:50:06 +01:00
mtu_kvm.c 2004-05-09 Paul Jakma <paul@dishone.st> 2004-05-09 11:00:23 +00:00
redistribute_null.c zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
redistribute.c Per AFI redist registrations 2015-05-19 18:03:45 -07:00
redistribute.h zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
rib.h zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
router-id.c zebra: Change the mechanism for comparing route ID's. 2014-04-22 21:17:26 +02:00
router-id.h 2005-02-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu> 2005-02-28 20:52:15 +00:00
rt_ioctl.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
rt_netlink.c zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
rt_netlink.h zebra: zebra-use-fixed-metric-cost.patch 2015-05-19 17:40:35 -07:00
rt_socket.c zebra: apply syntactic sugar to rib_dump() 2014-04-01 17:27:58 +02:00
rt.h [zebra/solaris] Interface state fixups for Solaris. 2006-01-25 04:31:40 +00:00
rtadv.c zebra-rtadv-suppress-default-config.patch 2015-05-19 18:04:13 -07:00
rtadv.h zebra: fix up compilation without rtadv/IPv6 2012-05-09 13:51:54 +02:00
rtread_getmsg.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_netlink.c zebra: add missing includes 2011-09-27 21:42:14 +04:00
rtread_proc.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_sysctl.c + fixed bug #400: adjusted rtread_sysctl.c:route_read() 2007-09-06 14:34:41 +00:00
test_main.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
testrib.conf zebra: Add an example config file for testzebra 2009-08-28 14:51:37 +01:00
zebra_fpm_netlink.c nexthop-tracking.patch 2015-05-19 17:40:34 -07:00
zebra_fpm_private.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.c zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_fpm.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_ptm.c 2015-05-19 17:47:24 -07:00
zebra_ptm.h ptm-integration.patch 2015-05-19 17:40:44 -07:00
zebra_rib.c Zebra: Static NHT fixes 2015-05-19 18:04:15 -07:00
zebra_rnh_null.c zebra: zebra-static-route-nht.patch 2015-05-19 17:47:22 -07:00
zebra_rnh.c Zebra: Ensure we compare prefix and NHs when checking if NH changed 2015-05-19 18:04:16 -07:00
zebra_rnh.h Zebra: Ensure we compare prefix and NHs when checking if NH changed 2015-05-19 18:04:16 -07:00
zebra_routemap.c Add support for filtering by tag in a route-map when installing routes in the kernel 2015-05-19 18:03:44 -07:00
zebra_snmp.c *: nuke ^L (page feed) 2014-06-04 06:58:02 +02:00
zebra_vty.c zebra-redistribute-table.patch 2015-05-19 18:03:42 -07:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
zserv.h Per AFI redist registrations 2015-05-19 18:03:45 -07:00