]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Remove check for bgp pointer 16774/head
authorDonald Sharp <sharpd@nvidia.com>
Mon, 9 Sep 2024 15:11:33 +0000 (11:11 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Wed, 11 Sep 2024 21:46:33 +0000 (17:46 -0400)
The check for an equivalent bgp pointer makes no sense
in the context of the workqueue as that we have a
work queue per bgp process, as such the bgp pointer
will always be the same as the pqnode.

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

index 4cf9a6b5f9928650f2ed8bf3fa74d5b33b84a167..f10a84dce9a6942a297ac6fbefbcd0afecad7335 100644 (file)
@@ -4077,7 +4077,6 @@ static void bgp_process_internal(struct bgp *bgp, struct bgp_dest *dest,
                pqnode = item->data;
 
                if (CHECK_FLAG(pqnode->flags, BGP_PROCESS_QUEUE_EOIU_MARKER) ||
-                   pqnode->bgp != bgp ||
                    (pqnode->queued >= ARBITRARY_PROCESS_QLEN && !early_process))
                        pqnode = bgp_processq_alloc(bgp);
                else