mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 14:43:23 +00:00
zebra: n->mac is derefed in all paths
No need to check for n->mac existence as that all paths leading to this code have n->mac already derefed. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
8b6b6b694d
commit
bc3cd39bc4
@ -722,9 +722,8 @@ zebra_evpn_proc_sync_neigh_update(zebra_evpn_t *zevpn, zebra_neigh_t *n,
|
|||||||
n->state, false /*force*/);
|
n->state, false /*force*/);
|
||||||
old_bgp_ready = false;
|
old_bgp_ready = false;
|
||||||
}
|
}
|
||||||
if (n->mac)
|
zebra_evpn_local_neigh_deref_mac(n,
|
||||||
zebra_evpn_local_neigh_deref_mac(
|
false /*send_mac_update*/);
|
||||||
n, false /*send_mac_update*/);
|
|
||||||
}
|
}
|
||||||
/* clear old fwd info */
|
/* clear old fwd info */
|
||||||
n->rem_seq = 0;
|
n->rem_seq = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user