A patch (bgpd-ensure-fast-eor-send.patch) has been submitted by Cumulus to 
address a boundary condition where sending of End-of-RIB could be delayed. The 
patch can be viewed at 
https://github.com/CumulusNetworks/quagga/commit/fe68195238962d9d439d78e8b2aa0fd7f749088f.

The boundary condition can occur when the last set of prefixes for the AFI/SAFI 
of interest go into the "final" Update - as determined by bgp->wpkt_quanta that 
is checked in bgp_write(). After this, an update to signal the EOR needs to be 
sent but since the function to check if the write thread needs to be scheduled 
again only checked for the FIFO, the write thread wouldn't be scheduled 
immediately again to push out the EOR. The patch addresses this by also 
checking if EOR is pending.

Vivek

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to