]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: turn off keepalives when sending NOTIFY
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 13 Nov 2017 22:59:04 +0000 (17:59 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 30 Nov 2017 21:18:07 +0000 (16:18 -0500)
commit934af4587f0b7ddbfc176c3930c04cca949743ba
tree1b19c6ad23dfe27bbf5f9ecc7e03307bc94a70a6
parentd0ad6d8e5f21f594102db115d429963e12398a9c
bgpd: turn off keepalives when sending NOTIFY

This is necessary because otherwise between the time we wipe the output
buffer and the time we push the NOTIFY onto it, the KA generation thread
could have pushed a KEEPALIVE in the middle.

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