]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix peer startup for labeled-unicast if linklocal address not found 833/head
authorDon Slice <dslice@cumulusnetworks.com>
Tue, 18 Jul 2017 12:54:50 +0000 (12:54 +0000)
committerDon Slice <dslice@cumulusnetworks.com>
Tue, 18 Jul 2017 13:09:34 +0000 (13:09 +0000)
commite5f22b303623861a48273914bbdb313282d97ad0
treeadd6acb9f66c3cb8a1bbdece0554ac715a752b9f
parentc14777c6bfd0a446c85243d3a9835054a259c276
bgpd: fix peer startup for labeled-unicast if linklocal address not found

Problem found in testing where ipv6 labeled-unicast prefixes were not received
on the peers if a "service networking restart" was issued.  Same problem would
happen with an ifdown/ifup on the link to the peer.  Found the problem to be
that peers would establish for labeled-unicast even if a link-local address was
not yet available on the interface toward the peer, causing updates to be sent
without a nexthop value. These were then rejected by the peer. Fix is to delay
peer establishment until after the link-local addresses are available.

Ticket: CM-16779
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
Reviewed By: Donald Sharp <sharpd@cumulusnetworks.com>
Testing Done: Manual testing successful.  Bgp-smoke completed with no new failures
bgpd/bgp_packet.c