mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-28 15:44:18 +00:00
2005-06-15 Paul Jakma <paul.jakma@sun.com>
* bgpd.c: (bgp_terminate) workqueue's are lazy allocated and its possible to terminate bgpd before workqueues were setup, causing an abort/crash. Reported by Ashish Mehta of Sun.
This commit is contained in:
parent
245a2b29a5
commit
e210cf9fd0
@ -1,3 +1,9 @@
|
|||||||
|
2005-06-15 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
|
* bgpd.c: (bgp_terminate) workqueue's are lazy allocated and its
|
||||||
|
possible to terminate bgpd before workqueues were setup, causing
|
||||||
|
an abort/crash. Reported by Ashish Mehta of Sun.
|
||||||
|
|
||||||
2005-06-01 Paul Jakma <paul.jakma@sun.com>
|
2005-06-01 Paul Jakma <paul.jakma@sun.com>
|
||||||
|
|
||||||
* (general) refcount struct peer and bgp_info, hence allowing us
|
* (general) refcount struct peer and bgp_info, hence allowing us
|
||||||
|
@ -4977,7 +4977,9 @@ bgp_terminate ()
|
|||||||
BGP_NOTIFY_CEASE_PEER_UNCONFIG);
|
BGP_NOTIFY_CEASE_PEER_UNCONFIG);
|
||||||
|
|
||||||
bgp_cleanup_routes ();
|
bgp_cleanup_routes ();
|
||||||
work_queue_free (bm->process_main_queue);
|
if (bm->process_main_queue)
|
||||||
work_queue_free (bm->process_rsclient_queue);
|
work_queue_free (bm->process_main_queue);
|
||||||
|
if (bm->process_rsclient_queue)
|
||||||
|
work_queue_free (bm->process_rsclient_queue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user