]> git.puffer.fish Git - mirror/frr.git/commit
zebra: move pbr hash create after update release
authorStephen Worley <sworley@nvidia.com>
Mon, 11 Jan 2021 22:30:21 +0000 (17:30 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 1 Feb 2021 18:32:37 +0000 (13:32 -0500)
commitf7692085cb040e1900986e9eb02d30a196be1e98
treef9b403abfa3f0b03997105e583e83e81617ce120
parent8eeca5a201fce3930d1ede9b7385bf6325f255ce
zebra: move pbr hash create after update release

Move the pbr hash creation to be after the update release
and dplane install. Now that rules are installed in a separate
dplane pthread, we can have scenarios where we have an interface
flapping and we install/remove rules sufficiently fast enough we
could issue what we think is an update for an identical rule and
end up releasing the rule right after we created it and sent it to
the dplane. This solves the problem of recving duplicate rules
during interface flapping.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
zebra/zebra_pbr.c