mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 23:58:44 +00:00
bfdd: On interface address delete we are leaking memory
The interface address delete callback from zebra was not deleting the ifc that was created as per normal work methodologies Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
4f28b2b59e
commit
8affc28e91
@ -794,7 +794,10 @@ static int bfdd_interface_address_update(ZAPI_CALLBACK_ARGS)
|
|||||||
: "delete",
|
: "delete",
|
||||||
ifc->address);
|
ifc->address);
|
||||||
|
|
||||||
bfdd_sessions_enable_address(ifc);
|
if (cmd == ZEBRA_INTERFACE_ADDRESS_ADD)
|
||||||
|
bfdd_sessions_enable_address(ifc);
|
||||||
|
else
|
||||||
|
connected_free(&ifc);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user