diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-01-23 20:22:42 +0300 |
|---|---|---|
| committer | Igor Ryzhov <iryzhov@nfware.com> | 2022-02-01 18:20:30 +0300 |
| commit | 0ef6eacc95c82014c04f13be3b641ff3983040ca (patch) | |
| tree | ffbd3d6951c5baa1a955beba32891a610b5ceb1a /zebra/zebra_script.c | |
| parent | 7a90d91586290d872c05960427df2d3f031cc5e5 (diff) | |
zebra: fix cleanup of meta queues on vrf disable
Current code treats all metaqueues as lists of route_node structures.
However, some queues contain other structures that need to be cleaned up
differently. Casting the elements of those queues to struct route_node
and dereferencing them leads to a crash. The crash may be seen when
executing bgp_multi_vrf_topo2.
Fix the code by using the proper list element types.
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'zebra/zebra_script.c')
0 files changed, 0 insertions, 0 deletions
