From 220b4ef63b2db82328bb3569b314353376922698 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 9 Sep 2024 11:11:33 -0400 Subject: [PATCH] bgpd: Remove check for bgp pointer 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 --- bgpd/bgp_route.c | 1 - 1 file changed, 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 4cf9a6b5f9..f10a84dce9 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -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 -- 2.39.5