mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-12 09:52:27 +00:00
pimd: Prevent use after free
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
c133ddca17
commit
7791cff31f
@ -788,8 +788,8 @@ void pim_vxlan_sg_del(struct pim_instance *pim, struct prefix_sg *sg)
|
||||
if (!vxlan_sg)
|
||||
return;
|
||||
|
||||
pim_vxlan_sg_del_item(vxlan_sg);
|
||||
hash_release(pim->vxlan.sg_hash, vxlan_sg);
|
||||
pim_vxlan_sg_del_item(vxlan_sg);
|
||||
}
|
||||
|
||||
/******************************* MLAG handling *******************************/
|
||||
|
Loading…
Reference in New Issue
Block a user