]> git.proxmox.com Git - mirror_frr.git/commitdiff
This is to backport the upstream fix on top of bgpd-restart-bit-fix.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:12 +0000 (18:04 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 20 May 2015 01:04:12 +0000 (18:04 -0700)
[quagga-dev 11878] [PATCH] bgpd: stop startup timer on stopping BGP (fixes dd49eb1)

bgpd/bgpd.c

index 75656d249e49e27acd729d884dabd29a53ff86ed..07124a26791e49397fc230531f8fc8efbf94a434 100644 (file)
@@ -2628,6 +2628,8 @@ bgp_delete (struct bgp *bgp)
   afi_t afi;
   int i;
 
+  THREAD_OFF (bgp->t_startup);
+
   for (ALL_LIST_ELEMENTS (bgp->peer, node, next, peer))
     {
       if (peer->status == Established ||