diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-22 10:54:20 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-05-22 10:54:20 -0400 |
| commit | 5d9cbca2266cfe7ee03ef85844dd71de77d2ee39 (patch) | |
| tree | 84e375bf998a8dbac168abee739c47b3eb1946ad /lib/vector.c | |
| parent | b1ab0dfe2013b5408fe18d65d0aff15b401fbb50 (diff) | |
bgpd: Ensure virt->vrfs is valid
Move the list_delete_and_null of the virt->vrfs code to
the actual deletion function to ensure proper lifecycle.
This assumption allows us to know that irt->vrfs is always
true so remove the NULL check on it.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/vector.c')
0 files changed, 0 insertions, 0 deletions
