mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 13:21:22 +00:00
Merge pull request #12530 from taspelund/remote_macip_memleak
bgpd: cleanup macip_path_list for remote macip
This commit is contained in:
commit
2d6916ad70
@ -6912,6 +6912,7 @@ static void bgp_evpn_remote_ip_hash_del(struct bgpevpn *vpn,
|
||||
if (ip->macip_path_list->count == 0) {
|
||||
bgp_evpn_remote_ip_process_nexthops(vpn, &ip->addr, false);
|
||||
hash_release(vpn->remote_ip_hash, ip);
|
||||
list_delete(&ip->macip_path_list);
|
||||
XFREE(MTYPE_EVPN_REMOTE_IP, ip);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user