]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_vxlan.c
zebra: lookup link by ifindex
authorMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Sun, 20 Aug 2017 00:28:58 +0000 (17:28 -0700)
committerMitesh Kanjariya <mitesh@marvel-07.cumulusnetworks.com>
Sun, 20 Aug 2017 13:10:38 +0000 (06:10 -0700)
commit71349e0358634c099b1c2b3d63a5dca3ad103578
treeb891e2cb3fa71dc068a00fea7773bd7f91cee2ad
parentf51d8a274b68b97c7d618d3763b3fbafab4ac716
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>
zebra/interface.c
zebra/rt_netlink.c
zebra/zebra_vxlan.c