mirror_frr/zebra
vivek fe697c6be5 zebra: Uninstall remote MACs from kernel appropriately
When a remote MAC goes away, but there are neighbors referring to it,
ensure that when the last remote neighbor goes away, the MAC is
uninstalled from the kernel and no longer considered as remote.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by:   Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Reviewed-by:   Chirag Shah <chirag@cumulusnetworks.com>

Ticket: CM-22130
Reviewed By: CCR-7777
Testing Done:
1. Replicated failed scenario and verified with fix.
2. evpn-min
2018-09-18 10:41:53 -04:00
..
.gitignore *: cleanup .gitignore files 2018-09-08 21:30:42 +02:00
connected.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
connected.h zebra, lib: error references for zebra 2018-08-14 20:02:05 +00:00
debug.c zebra: PBR show debugging IPSET/IPTABLE hooks declared 2018-05-25 15:49:38 +02:00
debug.h zebra, lib: error references for zebra 2018-08-14 20:02:05 +00:00
if_ioctl_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
if_ioctl.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
if_netlink.c zebra: Print out netlink message type instead of number 2018-09-14 17:48:51 -04:00
if_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
if_sysctl.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
interface.c Merge pull request #3023 from qlyoung/ultimate-warning-reference-cards-rename 2018-09-14 17:35:58 +02:00
interface.h Merge pull request #2944 from thbtcllt/master 2018-09-11 11:33:27 -04:00
ioctl_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ioctl.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
ipforward_proc.c zebra: fix includes 2018-09-06 20:56:41 +00:00
ipforward_solaris.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
ipforward_sysctl.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
irdp_main.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
irdp_packet.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
irdp.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
kernel_netlink.c zebra: Print out netlink message type instead of number 2018-09-14 17:48:51 -04:00
kernel_netlink.h zebra: Add support for static encap mpls labels 2018-08-25 13:19:07 -04:00
kernel_socket.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
kernel_socket.h zebra: cleanup blackhole support 2017-08-28 05:07:51 +02:00
label_manager.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
label_manager.h lib, zebra: fix formatting and style 2018-05-08 18:37:05 +02:00
main.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
redistribute.h zebra : Zebra does not properly track which route-maps are changed (#2493) 2018-08-17 08:47:48 -07:00
rib.h zebra : Zebra does not properly track which route-maps are changed (#2493) 2018-08-17 08:47:48 -07:00
router-id.c lib,zebra: fix json output when vrf1 when not active 2018-07-27 10:17:03 -04:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c zebra: Remove unused parameter in MAC delete 2018-09-18 10:41:53 -04:00
rt_netlink.h zebra: add RTPROT_FABRICD route type 197 2018-09-05 11:38:12 +02:00
rt_socket.c zebra: Remove unused parameter in MAC delete 2018-09-18 10:41:53 -04:00
rt.h zebra: Remove unused parameter in MAC delete 2018-09-18 10:41:53 -04:00
rtadv.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
rtadv.h Revert "zebra: implement draft-bz-v4goawayflag-00" 2018-04-02 15:26:06 -04:00
rtread_getmsg.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
rtread_netlink.c *: PBR - netlink interaction and basic definitions 2018-03-09 11:07:41 -05:00
rtread_sysctl.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
rule_netlink.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
rule_netlink.h zebra: Remove unnecessary function parameter 2018-05-24 09:14:43 -04:00
rule_socket.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
subdir.am Merge pull request #2977 from opensourcerouting/doc-fix 2018-09-09 14:52:38 -04:00
table_manager.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
table_manager.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
testrib.conf zebra: Build the test client, can be useful, and add IPv6 to testrib.conf 2016-05-26 01:13:58 +00:00
zapi_msg.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zapi_msg.h zebra, lib: error references for zebra 2018-08-14 20:02:05 +00:00
zebra_errors.c zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
zebra_errors.h zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA 2018-09-13 19:23:29 +00:00
zebra_fpm_dt.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_netlink.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c *: fix clang-6 SA warnings 2018-09-08 20:34:35 +02:00
zebra_fpm.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c *: use the FOR_ALL_INTERFACES abstraction from babeld 2017-10-10 09:05:46 -03:00
zebra_l2.h *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_memory.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_memory.h zebra: Refactor 'struct rib' to be 'struct route_entry' 2017-06-01 08:00:05 -04:00
zebra_mpls_netlink.c zebra: Add enum dp_req_result to lsp install/deletes 2018-05-30 08:05:29 -04:00
zebra_mpls_null.c zebra: Add enum dp_req_result to lsp install/deletes 2018-05-30 08:05:29 -04:00
zebra_mpls_openbsd.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
zebra_mpls_vty.c bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool 2018-09-04 17:39:04 +00:00
zebra_mpls.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_mpls.h bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
zebra_mroute.c zebra: Add some additional vrf debug for retrieving mroute info 2018-09-17 09:22:31 -04:00
zebra_mroute.h zebra: standardize ZAPI message handler args 2018-03-12 14:57:05 -04:00
zebra_netns_id.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_netns_id.h zebra: upon startup, a NSID is assigned to default netns 2018-02-27 11:11:24 +01:00
zebra_netns_notify.c *: LIB_[ERR|WARN] -> EC_LIB 2018-09-13 19:34:28 +00:00
zebra_netns_notify.h zebra: collect and get netnamespaces information 2018-02-27 11:11:24 +01:00
zebra_ns.c bgpd isisd zebra: misuse of comma operator 2018-09-14 15:55:56 +02:00
zebra_ns.h zebra: ns_table list is extended to support multiple NETNS 2018-06-01 15:24:13 +02:00
zebra_pbr.c zebra: flog_warn conversion 2018-09-06 20:56:38 +00:00
zebra_pbr.h zebra: show pbr iptable per iptable 2018-07-24 12:17:57 +02:00
zebra_ptm_redistribute.c zebra: refactor zserv names, consolidate events 2018-05-29 19:06:16 +00:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_ptm.h bfdd: re-route PTM-BFD daemon messages 2018-08-08 18:25:04 -03:00
zebra_pw.c zebra: flog_warn conversion 2018-09-06 20:56:38 +00:00
zebra_pw.h zebra: use hooks for client lifecycle callbacks 2018-04-22 22:50:24 -04:00
zebra_rib.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_rnh.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zebra_rnh.h zebra: When registering a nexthop, we do not always need to re-eval 2018-08-25 08:11:01 -04:00
zebra_routemap.c zebra : routemap "match ipv6 address prefix list" does not work 2018-08-17 08:53:28 -07:00
zebra_routemap.h libs, daemons: use const in route-map apply 2018-07-23 10:34:35 -04:00
zebra_snmp.c *: use C99 standard fixed-width integer types 2018-03-27 15:13:34 -04:00
zebra_vrf.c *: add a vrf update hook to be informed of the vrf name 2018-08-28 16:23:50 +02:00
zebra_vrf.h staticd: Start the addition of a staticd 2018-07-29 12:37:24 -04:00
zebra_vty.c bgpd/ospfd: make bgp and ospf json response a bit more consistent 2018-08-30 12:40:18 +00:00
zebra_vxlan_null.c bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool 2018-09-04 17:39:04 +00:00
zebra_vxlan_private.h bgpd, zebra: EVPN extended mobility support 2018-08-20 19:20:06 +00:00
zebra_vxlan.c zebra: Uninstall remote MACs from kernel appropriately 2018-09-18 10:41:53 -04:00
zebra_vxlan.h bgpd, ospfd, pimd, zebra: Convert more use_json locations to bool 2018-09-04 17:39:04 +00:00
zebra.conf.sample *: Remove cvs control points 2017-12-05 17:28:12 -05:00
zserv.c *: style for EC replacements 2018-09-13 19:38:57 +00:00
zserv.h zebra: dont delete pthreads from under themselves 2018-07-30 23:06:27 +00:00