mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-03 18:02:53 +00:00
pimd: Fix crash when looking at S,G from *,G
When looping over S,G's associated with a *,G, there can exist situations where we have not created the channel oil for the S,G yet. Don't allow this to crash the system. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
8151e2865c
commit
8ccbc80f01
@ -210,6 +210,8 @@ static void recv_prune(struct interface *ifp,
|
||||
__FILE__, __PRETTY_FUNCTION__,
|
||||
buff, pim_str_sg_dump (&child->sg));
|
||||
}
|
||||
if (!c_oil)
|
||||
continue;
|
||||
|
||||
if (!pim_upstream_evaluate_join_desired (child))
|
||||
pim_channel_del_oif (c_oil, ifp, PIM_OIF_FLAG_PROTO_PIM);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user