mirror_frr/zebra
vivek a219b2952a Zebra: Ensure correct route is used for redistribute delete.
After the optimization introduced by patch zebra-redist-update-fix.patch
which implements "replace" semantics for redistributed routes instead of
a delete followed by add, the code was passing an incorrect route for
redistribute deletion in one case. This is mainly inconsequential as of
now as the deletion process primarily cares about only the destination, but
the code needs to be corrected and that is done here.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Fixes: zebra-redist-update-fix.patch

Ticket: CM-8112
Reviewed By: CCR-3760
Testing Done: Trivial

Note:
1. Needs changes after IPv6 route replace patches are included.
2. Imported from 2.5-br patch zebra-redist-delete-fix.patch
2015-11-15 07:36:50 -08:00
..
.gitignore [administrivia] Update gitignore files 2008-08-22 20:02:08 +01:00
client_main.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
connected.c zebra: let FIB stand for its respective VRF 2015-10-29 23:38:03 -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, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_ioctl.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_netlink.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
if_proc.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
if_sysctl.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
interface.c zebra: let FIB stand for its respective VRF 2015-10-29 23:38:03 -07:00
interface.h zebra: maintain RTADV per VRF 2015-10-30 00:57:27 -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 zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07: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 zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
kernel_socket.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -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, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
Makefile.am Add --enable-werror to configure 2015-07-25 16:05:56 -07:00
misc_null.c zebra: zebra-warnings.patch 2015-05-19 18:04:26 -07:00
mtu_kvm.c 2004-05-09 Paul Jakma <paul@dishone.st> 2004-05-09 11:00:23 +00:00
redistribute_null.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
redistribute.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
redistribute.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
rib.h Zebra: Remove dependency on rib_bogus_ipv6 2015-11-09 17:02:26 -08:00
router-id.c zebra: maintain the router-id per VRF 2015-10-30 00:19:15 -07:00
router-id.h zebra: maintain the router-id per VRF 2015-10-30 00:19:15 -07:00
rt_ioctl.c Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rt_netlink.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rt_netlink.h zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rt_socket.c Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rt.h Zebra: Implement route replace semantics. 2015-06-11 09:11:12 -07:00
rtadv.c zebra: maintain RTADV per VRF 2015-10-30 00:57:27 -07:00
rtadv.h zebra: maintain RTADV per VRF 2015-10-30 00:57:27 -07:00
rtread_getmsg.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rtread_netlink.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
rtread_proc.c Multi-Instance OSPF Summary 2015-05-19 18:03:42 -07:00
rtread_sysctl.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
test_main.c zebra, lib/memtypes.c: the netlink sockets work per VRF 2015-10-30 01:45:21 -07:00
testrib.conf zebra: Add an example config file for testzebra 2009-08-28 14:51:37 +01:00
zebra_fpm_netlink.c lib, zebra: move "struct vrf" to be a lib module 2015-10-29 16:45:10 -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 lib, zebra: move "struct vrf" to be a lib module 2015-10-29 16:45:10 -07:00
zebra_fpm.h zebra: add module to communicate routes to FPM 2012-11-30 21:41:17 +01:00
zebra_ptm_null.c Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
zebra_ptm_redistribute.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
zebra_ptm_redistribute.h Support of BFD status in Quagga 2015-08-31 14:56:11 -07:00
zebra_ptm.c Fix Quagga ptm status per interface to show more meaningful status 2015-10-09 11:18:09 -07:00
zebra_ptm.h Fix Quagga ptm status per interface to show more meaningful status 2015-10-09 11:18:09 -07:00
zebra_rib.c Zebra: Ensure correct route is used for redistribute delete. 2015-11-15 07:36:50 -08:00
zebra_rnh_null.c zebra: show routes in a specified VRF or all VRFs 2015-10-29 23:46:03 -07:00
zebra_rnh.c *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
zebra_rnh.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00
zebra_routemap.c zebra: lookup the address in all VRFs when set the route-map rule "set src" 2015-10-29 23:58:09 -07:00
zebra_routemap.h Create override for quagga reinstall of originated routes 2015-08-26 05:21:40 -07:00
zebra_snmp.c lib, zebra: move "struct vrf" to be a lib module 2015-10-29 16:45:10 -07:00
zebra_vty.c Fixing a space before VRF_CMD_STR in ip route commands. 2015-10-30 11:41:10 -07:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c Zebra: Remove dependency on rib_bogus_ipv6 2015-11-09 17:02:26 -08:00
zserv.h *: add VRF ID in the API message header 2015-11-03 22:04:36 -08:00