mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-28 14:51:31 +00:00
Merge pull request #14557 from volodymyrhuti/EIGRP_IF_DELETE_CRASH
eigrp: use correct memory pool on interface deletion
This commit is contained in:
commit
7bc23dde1b
@ -44,7 +44,6 @@
|
|||||||
#include "eigrpd/eigrp_metric.h"
|
#include "eigrpd/eigrp_metric.h"
|
||||||
|
|
||||||
DEFINE_MTYPE_STATIC(EIGRPD, EIGRP_IF, "EIGRP interface");
|
DEFINE_MTYPE_STATIC(EIGRPD, EIGRP_IF, "EIGRP interface");
|
||||||
DEFINE_MTYPE_STATIC(EIGRPD, EIGRP_IF_INFO, "EIGRP Interface Information");
|
|
||||||
|
|
||||||
struct eigrp_interface *eigrp_if_new(struct eigrp *eigrp, struct interface *ifp,
|
struct eigrp_interface *eigrp_if_new(struct eigrp *eigrp, struct interface *ifp,
|
||||||
struct prefix *p)
|
struct prefix *p)
|
||||||
@ -110,7 +109,7 @@ int eigrp_if_delete_hook(struct interface *ifp)
|
|||||||
|
|
||||||
eigrp_fifo_free(ei->obuf);
|
eigrp_fifo_free(ei->obuf);
|
||||||
|
|
||||||
XFREE(MTYPE_EIGRP_IF_INFO, ifp->info);
|
XFREE(MTYPE_EIGRP_IF, ifp->info);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user