mirror_frr/zebra
Mitesh Kanjariya 71349e0358 zebra: lookup link by ifindex
Frr has an assumption that when interface A links to B,
we already know about B. But that might be true always.
It is probably purely depends on the configuration
and how the interfaces are hashed in Kernel.
FRR seems to sometimes get "A is linked to B" before it knows about B,
in that case, the linkage between the data structure for A & B won't be proper.

Ticket: CM-17679
Review: ccr-6628
Testing: Manual

Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
2017-08-20 06:10:38 -07:00
..
.gitignore build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
client_main.c *: remove --enable-tcp-zebra, rework ZAPI path 2017-08-08 11:14:05 +02:00
connected.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
connected.h *: reindent 2017-07-17 14:04:07 +02:00
debug.c zebra: fix pseudowire code re. upstream changes 2017-08-09 13:03:39 +02:00
debug.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02: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 build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
if_ioctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
if_netlink.c zebra: Guard debugs in interface speed check 2017-08-08 10:28:54 -04:00
if_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
if_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
interface.c zebra: lookup link by ifindex 2017-08-20 06:10:38 -07:00
interface.h bgpd/zebra/lib: EVPN support for asymmetric VxLan routing 2017-08-08 10:28:46 -04:00
ioctl_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ioctl_solaris.h *: reindent 2017-07-17 14:04:07 +02:00
ioctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ioctl.h *: reindent 2017-07-17 14:04:07 +02:00
ipforward_proc.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_solaris.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
ipforward.h *: reindent 2017-07-17 14:04:07 +02:00
irdp_interface.c *: reindent 2017-07-17 14:04:07 +02:00
irdp_main.c *: reindent 2017-07-17 14:04:07 +02:00
irdp_packet.c *: reindent 2017-07-17 14:04:07 +02:00
irdp.h *: reindent 2017-07-17 14:04:07 +02:00
kernel_netlink.c zebra: hide netlink warning message 2017-08-04 10:19:36 +02:00
kernel_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
kernel_socket.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
kernel_socket.h *: reindent 2017-07-17 14:04:07 +02:00
label_manager.c *: remove --enable-tcp-zebra, rework ZAPI path 2017-08-08 11:14:05 +02:00
label_manager.h *: reindent 2017-07-17 14:04:07 +02:00
main.c Merge remote-tracking branch 'frr/master' into tcp-zebra 2017-08-09 20:42:27 +02:00
Makefile build: convert zebra/ to non-recursive build 2017-07-31 23:03:30 +02:00
redistribute.c Merge pull request #935 from donaldsharp/kernel_metric 2017-08-15 13:42:04 +02:00
redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
rib.h zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
router-id.c *: reindent 2017-07-17 14:04:07 +02:00
router-id.h *: make consistent & update GPLv2 file headers 2017-05-15 16:37:41 +02:00
rt_netlink.c zebra: lookup link by ifindex 2017-08-20 06:10:38 -07:00
rt_netlink.h *: reindent 2017-07-17 14:04:07 +02:00
rt_socket.c Merge branch 'master' into PIM_VRF 2017-08-02 09:39:38 -04:00
rt.h lib, pimd, zebra: Allow pim to set pimregX into appropriate vrf 2017-07-24 13:51:39 -04:00
rtadv.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
rtadv.h *: reindent 2017-07-17 14:04:07 +02:00
rtread_getmsg.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
rtread_netlink.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
rtread_sysctl.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
subdir.am zebra: add pseudowire manager 2017-08-09 12:35:15 +02: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
zebra_fpm_dt.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_netlink.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_fpm_private.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm_protobuf.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_fpm.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_l2.c Fix coding style. 2017-08-18 17:33:56 -07:00
zebra_l2.h Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02: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 build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_mpls_null.c build: zebra: remove *_method Makefile hacks 2017-07-31 23:03:30 +02:00
zebra_mpls_openbsd.c zebra: add support to openbsd's mpw(4) for pseudowires 2017-08-09 12:35:16 +02:00
zebra_mpls_vty.c zebra: remove redundant DEFUNs for labeled static routes 2017-07-27 21:47:23 -03:00
zebra_mpls.c Merge branch 'frr/pull/822' ("EVPN fixes") 2017-08-09 21:34:10 +02:00
zebra_mpls.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_mroute.c zebra: Allow S,G lookup to use RTNL_FAMILY_IPMR 2017-07-24 13:51:39 -04:00
zebra_mroute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ns.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_ns.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm_redistribute.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm_redistribute.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_ptm.c Revert "*: reindent pt. 2" 2017-07-22 14:52:33 +02:00
zebra_ptm.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_pw.c zebra: fix pseudowire code re. upstream changes 2017-08-09 13:03:39 +02:00
zebra_pw.h zebra: add support for static pseudowires 2017-08-09 13:03:36 +02:00
zebra_rib.c zebra: Pay attention to metric from kernel 2017-08-09 09:17:20 -04:00
zebra_rnh.c zebra: add new flag to detect nexthop label updates 2017-08-09 12:35:15 +02:00
zebra_rnh.h zebra: add nexthop tracking for pseudowires 2017-08-09 12:35:15 +02:00
zebra_routemap.c zebra: add missing protocols names to source-protocol route-map match 2017-08-04 10:19:36 +02:00
zebra_routemap.h *: reindent 2017-07-17 14:04:07 +02:00
zebra_snmp.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_static.c zebra: static: update on ifindex changes 2017-08-06 05:17:09 +02:00
zebra_static.h zebra: static: update on ifindex changes 2017-08-06 05:17:09 +02:00
zebra_vrf.c zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00
zebra_vrf.h Merge branch 'frr/pull/822' ("EVPN fixes") 2017-08-09 21:34:10 +02:00
zebra_vty.c Merge branch 'frr/pull/822' ("EVPN fixes") 2017-08-09 21:34:10 +02:00
zebra_vxlan_null.c *: reindent 2017-07-17 14:04:07 +02:00
zebra_vxlan_private.h zebra: Use neigh_list instead of neigh_refcnt for zebra_mac and zebra_neigh binding 2017-08-16 18:56:15 -07:00
zebra_vxlan.c zebra: lookup link by ifindex 2017-08-20 06:10:38 -07:00
zebra_vxlan.h zebra: Enable JSON for EVPN show cmds 2017-08-08 10:28:50 -04:00
zebra.conf.sample Initial revision 2002-12-13 20:15:29 +00:00
zserv.c Merge pull request #935 from donaldsharp/kernel_metric 2017-08-15 13:42:04 +02:00
zserv.h zebra: add pseudowire manager 2017-08-09 12:35:15 +02:00