]> git.puffer.fish Git - mirror/frr.git/commit
Zebra: Handle IPv6 address status during initialization
authorvivek <vivek@cumulusnetworks.com>
Fri, 20 Nov 2015 18:34:50 +0000 (10:34 -0800)
committervivek <vivek@cumulusnetworks.com>
Fri, 20 Nov 2015 18:34:50 +0000 (10:34 -0800)
commit6a3b3531684a61f8500f6bfc595d649da2296c38
tree181666bcaf41eae31f3a5b8d10403ef6de895a8b
parent922705ecdccad98dcb5eb8dcb37394ec339afe51
Zebra: Handle IPv6 address status during initialization

At init time, Zebra queries the kernel for all interfaces. At this time,
an IPv6 address may exist on an interface but IPv6 DAD has not completed,
or it could be that DAD has failed. Zebra should examine the flags on
the address and act accordingly. Otherwise, it may end up with addresses
and routes which are not actually valid in the kernel, and this may lead
to, for example, BGP attempting neighbor connections on an interface on
which the source IPv6 address is not yet valid.

Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Reviewed-by: Dinesh Dutt <ddutt@cumulusnetworks.com>
Ticket: CM-7176
Reviewed By: CCR-3815
Testing Done: Verify failed test (needs temporary test change)

Note: Imported from 2.5-br patch zebra-handle-ipv6-addr-status.patch.
zebra/rt_netlink.c