Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bgpd: Fix for BGP core when connected routes are redistriubuted and G…
…R is enabled. When GR with deferral is enabled and connected routes are distributed then in one race condition route node gets added in to both deferred queue and work queue. If deferred queue gets processed first then it ends up delete only flag while leaving the entry in the work queue as it is. When a new update comes for the same rotue node next time from peer then it hits assert. Assert check is added to ensure we dont add to work queue again while it is already present. So,Check before adding in to deferred queue if it is already present in work queue and bail if so.
- Loading branch information