summaryrefslogtreecommitdiff
path: root/lib/xref.c
diff options
context:
space:
mode:
authorYuan Yuan <yyuanam@amazon.com>2021-09-22 20:02:40 +0000
committermergify-bot <noreply@mergify.io>2021-10-12 16:27:08 +0000
commit39d50cc21e3902ea31765a68522bd7b7b03c6b2f (patch)
treeb204407242c5104f6073bf20c6e1f29803dc1081 /lib/xref.c
parentec6f74958b7387a538f58e45c59b0abe69f9a885 (diff)
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> (cherry picked from commit 8eec31ef564dcf4e096e700a648570973ca4e96b)
Diffstat (limited to 'lib/xref.c')
0 files changed, 0 insertions, 0 deletions