]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_packet.c
bgpd: move update group processing to main thread
authorQuentin Young <qlyoung@cumulusnetworks.com>
Wed, 22 Mar 2017 17:13:23 +0000 (17:13 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:17:57 +0000 (16:17 -0500)
commit80bd61c416c0dd51a2cc8b9dd67ac00e41cde20a
tree0de01e8f007c7313cbe38671d9af9d49b890e421
parentd3ecc69e5fba1873872a1f4dc359ff1934f81848
bgpd: move update group processing to main thread

Prior to this change, packets generated for update groups were taken off
of the (independent) buffer for the update group, reformatted for the
specific peer under question and sent off inline with bgp_write(). Since
the operations of this code path can include the merging and pruning of
subgroups and are too large to safely synchronize, this change moves
that logic to execute after each tick of the write thread.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_packet.c