mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 08:32:12 +00:00
pimd: Fix igmp proxy null pointer dereference
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
This commit is contained in:
parent
2203dc4777
commit
17972d104d
@ -3763,7 +3763,7 @@ int lib_interface_gmp_address_family_proxy_modify(struct nb_cb_modify_args *args
|
|||||||
case NB_EV_APPLY:
|
case NB_EV_APPLY:
|
||||||
ifp = nb_running_get_entry(args->dnode, NULL, true);
|
ifp = nb_running_get_entry(args->dnode, NULL, true);
|
||||||
pim_ifp = ifp->info;
|
pim_ifp = ifp->info;
|
||||||
if (pim_ifp)
|
if (pim_ifp) {
|
||||||
pim_ifp->gm_proxy = yang_dnode_get_bool(args->dnode,
|
pim_ifp->gm_proxy = yang_dnode_get_bool(args->dnode,
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
@ -3772,6 +3772,7 @@ int lib_interface_gmp_address_family_proxy_modify(struct nb_cb_modify_args *args
|
|||||||
else
|
else
|
||||||
pim_if_gm_proxy_finis(pim_ifp->pim, ifp);
|
pim_if_gm_proxy_finis(pim_ifp->pim, ifp);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return NB_OK;
|
return NB_OK;
|
||||||
}
|
}
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user