diff options
| author | vivek <vivek@cumulusnetworks.com> | 2016-12-02 08:22:21 -0500 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2016-12-02 16:59:02 +0100 |
| commit | 9166c8ebd1e8f38f421b95f1be432daa7be158c6 (patch) | |
| tree | 3686dfa246d834f55512dda94183dfa2fc505f96 /lib/imsg-buffer.c | |
| parent | 45d430e81de0c3ca127b378b1d0e020d116f01cb (diff) | |
bgpd: Fix route node unlock when clearing adj-out
When clearing the adj-out for a subgroup (e.g., upon peer going down),
ensure that the adj-out is removed before unlocking the route node that
it points to, otherwise, there is a possibility that the route node may
be prematurely freed.
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Ticket: CM-13690
Reviewed By: None
Testing Done: bgp-smoke, resilient-hash tests
(cherry picked from commit c3d7d35f3b7152c9e50e52c3cfd60b0dc52df703)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/imsg-buffer.c')
0 files changed, 0 insertions, 0 deletions
