commit | cffe7807c03b7edea005869086720e2f1fb070c6 | [log] [tgz] |
---|---|---|
author | David Lamparter <equinox@opensourcerouting.org> | Sun Dec 07 03:27:13 2014 +0100 |
committer | David Lamparter <equinox@opensourcerouting.org> | Sun Dec 07 22:53:20 2014 +0100 |
tree | ba2106f3124a31e5cc3107ac75dc6aa16eab6970 | |
parent | 273b1bd341afff86ba571e0be296d88dba627136 [diff] |
bgpd: stop startup timer on stopping BGP (fixes dd49eb1) bgp_delete() really needs to kill t_startup, otherwise after creating and quickly destroying a BGP instance it may fire on a deallocated struct bgp, overwriting memory. Reported-by: Martin Winter <mwinter@netdef.org> Fixes: dd49eb1 ("Fix BGP's use of restart bit.") Cc: Vipin Kumar <vipin@cumulusnetworks.com> Signed-off-by: David Lamparter <equinox@opensourcerouting.org> Acked-by: Vincent JARDIN <vincent.jardin@6wind.com>