]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: add ZEBRA_IFC_QUEUED to keep track of kernel state
authorChristian Franke <chris@opensourcerouting.org>
Thu, 24 Jan 2013 14:04:48 +0000 (14:04 +0000)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 19 Sep 2013 15:51:16 +0000 (17:51 +0200)
commitf7f740fe58fb838fc87e82dc7e1e2d4e5ccf085c
tree5f3d9c866aaf7f8f23aaa5956eb7323d49ef472f
parentc7df92de2dc91d0a934cf892e543728cb1a10849
zebra: add ZEBRA_IFC_QUEUED to keep track of kernel state

As there are timeframes when we don't get a notification from the kernel
about new addresses. (e.g. while Linux performs IPv6 DAD), we need to
have some information whether an address has been sent to the kernel or
not.

One case where this is relevant would be a user adding an IPv6 address,
but deleting it before DAD has been complete. With the next patch which
removes some (ill assuming) synchronous parts in address setup,
ipv6_address_uninstall would not know whether or not it has to actually
delete the prefix from the kernel. Resolving these windows where we lack
information is what the flag ZEBRA_IFC_QUEUED is intended for.

Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
lib/if.h
zebra/connected.c
zebra/interface.c