fib: contention with DP on deleting a route 27/40327/1
authorSteven Luong <sluong@cisco.com>
Tue, 13 Feb 2024 00:47:22 +0000 (16:47 -0800)
committerSteven Luong <sluong@cisco.com>
Tue, 13 Feb 2024 00:55:11 +0000 (16:55 -0800)
commit58f37b21eace1c93ed5b20047cae4d0056cba376
tree54c8b377d6e54c7cfb3ea028783f65ad49037b2d
parentd1fa7ae03e439f01bb37140bf84c06e6d78217e7
fib: contention with DP on deleting a route

Add vlib_worker_wait_one_loop prior to invoking dpo_reset
upon uninstalling a fib entry to avoid contention with DP.

Type: fix

Change-Id: If2a6c4cb9b5629dd61e506ab9f9c3e6aef121b45
Signed-off-by: Steven Luong <sluong@cisco.com>
src/vnet/fib/fib_entry_src.c