]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix dplane_fpm_nl to allow for fast configuration 12315/head
authorDonald Sharp <sharpd@nvidia.com>
Mon, 14 Nov 2022 13:28:45 +0000 (08:28 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 14 Nov 2022 13:31:18 +0000 (08:31 -0500)
commit551fa8c3549e24020dfce33d06ade4a14f72abfe
tree38e3dd45d9073eca76e32c82e29fb2e029b8bd56
parentdc31de93e1a79b4a138b474d3c4fdb44cdfee6f3
zebra: Fix dplane_fpm_nl to allow for fast configuration

If you have this order in your configuration file:

no fpm use-next-hop-groups
fpm address 127.0.0.1

the dplane code was using the same event thread t_event and the second
add event in the code was going, you already have an event scheduled
and as such the second event does not overwrite it.  Leaving
no code to actually start the whole processing.  There are probably
other cli iterations that will cause this fun as well, but I'm
not going to spend the time sussing them out at the moment.

Fixes: #12314
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/dplane_fpm_nl.c