]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: schedule process packet as timer
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 7 Nov 2017 07:49:54 +0000 (02:49 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:18:06 +0000 (16:18 -0500)
commit4af766600a3dc8779f09070c500ba0465eed74de
treecf0f08e645dcc927a69c7ffa482cbf75d0199f3b
parentaf1e1dc69e68f8cdea21f1bf8623ab22394594f4
bgpd: schedule process packet as timer

Different places scheduling the same thread should use the same
semantics and thread type. Additionally providing the back reference
here makes sure we only schedule the job once and avoids flooding the
event queue with jobs to process an empty buffer.
bgpd/bgp_packet.c