summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2020-01-28 14:33:10 -0500
committerStephen Worley <sworley@cumulusnetworks.com>2020-03-26 10:48:15 -0400
commit1866b3afc259c565f42a9aab262ede27c142eea4 (patch)
tree6f78c1e9b2d1d69c2bff06def9e9c4e4db2613ec /lib/command.c
parent497ff5792f6a27702bf4ee33b79e1a80ffcf0a09 (diff)
zebra: don't add ID to kernel nh_grp if not installed/queued
When we transform the nexthop group rb trees into a flat array of IDs to send into the dataplane code (zebra_nhg_nhe2grp), don't put an ID in there that has not been in installed or is not currently queued to be installed into the dataplane. Otherwise, if some of the nexthops fail to install, we will still try to create a group with them and then the entire group will fail. Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions