]> git.puffer.fish Git - mirror/frr.git/commit
ospf: BFD down not tearing down OSPF adjacency for point-to-point network 5264/head
authorRadhika Mahankali <radhika@cumulusnetworks.com>
Mon, 9 Apr 2018 22:30:32 +0000 (15:30 -0700)
committerDon Slice <dslice@cumulusnetworks.com>
Fri, 1 Nov 2019 14:11:21 +0000 (14:11 +0000)
commiteb3e472904e30f35825f08319608217082d4af21
treeff79344599a3af08c96fe82ceb717dfb0a329827
parentae7b9d4c307f0f7ac6c45cc3f7713b4335f81aa8
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