summaryrefslogtreecommitdiff
path: root/ospfd/ospf_errors.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2019-08-18 22:12:06 -0700
committervivek <vivek@cumulusnetworks.com>2019-08-18 22:12:06 -0700
commite2d3a909548de5a7062f0caf7d7ef306128cb1a8 (patch)
tree94627ab2a43510e5adaf0c4b6bef954d729c7a1d /ospfd/ospf_errors.c
parentf067bdf8e2a468d1c7f553b212de2520609d081b (diff)
bgpd: Fix nexthop reg for IPv4 route exchange using GUA IPv6 peering
In the case of IPv4 route exchange using GUA IPv6 peering, the route install into the FIB involves mapping the immediate next hop to an IPv4 link-local address and installing neighbor entries for this next hop address. To accomplish the latter, IPv6 Router Advertisements are exchanged (the next hop or peer must also have this enabled) and the RAs are dynamically initiated based on next hop resolution. However, in the case of a passive connection where the local system has not initiated anything, no NHT entry is created for the peer, hence RAs were not getting triggered. Address this by ensuring that a NHT entry is created even in this situation. This is done at the time the connection becomes established because the code has other assumptions that a NHT entry will be present only for the "configured" peer. The API to create the entry ensures there are no duplicates. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_errors.c')
0 files changed, 0 insertions, 0 deletions