vrrp: fix SIGABRT crash by ASSERT() when deleting vrrp vr(MASTER state)
we need cancel vrrp_vr_timer when deleting vrrp vr
Type: fix
@@ -815,6 +815,7 @@ vrrp_vr_del_common (vrrp_vr_t *vr, vrrp_vr_key_t *key)
vrrp_main_t *vrm = &vrrp_main;
ip46_address_t *vr_addrs_del_copy;
+ vrrp_vr_timer_cancel (vr);
vrrp_vr_tracking_ifs_add_del (vr, vr->tracking.interfaces, 0);
vr_addrs_del_copy = vec_dup (vr->config.vr_addrs);
vrrp_vr_addrs_add_del (vr, 0, vr_addrs_del_copy);
