]> git.puffer.fish Git - mirror/frr.git/commit
Zebra: Ignore the failure of startup intf lookup. 9655/head
authorYuan Yuan <yyuanam@amazon.com>
Wed, 22 Sep 2021 20:02:40 +0000 (20:02 +0000)
committerYuan Yuan <yyuanam@amazon.com>
Wed, 6 Oct 2021 02:00:39 +0000 (02:00 +0000)
commit8eec31ef564dcf4e096e700a648570973ca4e96b
tree468f4bb4ae5f9797e15337cd739001075b7fa70b
parenta8a5b215148a1b5857085e4318a6e9af876453df
Zebra: Ignore the failure of startup intf lookup.

In startup, zebra would dump interface information from Kernel in 3
steps w/o lock: step1, get interface information; step2, get interface
ipv4 address; step3, get interface ipv6 address.
If any interface gets added after step1, but before step2/3, zebra
would get extra interface addresses in step2/3 that has not been added
into zebra in step1. Returning error in the referenced interface lookup
would cause the startup interface retrieval to be incomplete.

Signed-off-by: Yuan Yuan <yyuanam@amazon.com>
zebra/if_netlink.c