]> git.proxmox.com Git - mirror_frr.git/commit - ospfd/ospf_bfd.c
ospf: BFD down not tearing down OSPF adjacency for point-to-point network
authorRadhika Mahankali <radhika@cumulusnetworks.com>
Mon, 9 Apr 2018 22:30:32 +0000 (15:30 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Thu, 31 Oct 2019 11:11:44 +0000 (11:11 +0000)
commit6e641a8f2ea8cef24b0fc02f507e4da5f49ac1e7
tree6fb888315cdc6f5b118d026d7de18186ba57fd13
parentf149ebd9a764ce786eda6242d3b395bf07a3415c
ospf: BFD down not tearing down OSPF adjacency for point-to-point network

Root Cause:
Lookup for the point-to-point neighbor was failing because the neighbor
lookup was based on neighbor interface IP address. But, for point-to-point
neighbor the key is router-id for lookup. Lookup failure was causing the
BFD updates from PTM to get dropped.

Fix:
Added walk of the neighbor list if the network type is point-to-point to
find the appropriate neighbor. The match is based on source IP address of
the neighbor since that’s the address registered with BFD for monitoring.

Ticket: CM-20411
Signed-off-by: Radhika Mahankali <radhika@cumulusnetworks.com>
ospfd/ospf_bfd.c