]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: dplane_nexthop_add cannot return ZEBRA_DPLANE_REQUEST_SUCCESS
authorDonald Sharp <sharpd@nvidia.com>
Thu, 8 Feb 2024 01:32:24 +0000 (20:32 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 8 Feb 2024 01:32:24 +0000 (20:32 -0500)
commit65d82a45ecaafa60e680434e7f27ffe50e528f9b
tree12fb11e3fd7525e4e2d824beef4c57b1564dba5f
parentab3d0846bd8893f2f93af1d3b93c2cb4ac6da0f0
zebra: dplane_nexthop_add cannot return ZEBRA_DPLANE_REQUEST_SUCCESS

When installing a NHG via dplane_nexthop_add, it can only return
REQUEST_QUEUED or REQUEST_FAILURE.  There is no way SUCCESS can
be returned with the way the dplane works at this point in time.
Remove the code that attempts to set the NHE state appropriately
as it is impossible.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/zebra_nhg.c