mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 12:35:48 +00:00
Merge pull request #6850 from mobash-rasool/pim-fixes
pimd: crash fix when RP is removed
This commit is contained in:
commit
74323657c9
@ -346,6 +346,7 @@ void pim_upstream_rpf_clear(struct pim_instance *pim,
|
||||
struct pim_upstream *up)
|
||||
{
|
||||
if (up->rpf.source_nexthop.interface) {
|
||||
pim_upstream_switch(pim, up, PIM_UPSTREAM_NOTJOINED);
|
||||
up->rpf.source_nexthop.interface = NULL;
|
||||
up->rpf.source_nexthop.mrib_nexthop_addr.u.prefix4.s_addr =
|
||||
PIM_NET_INADDR_ANY;
|
||||
|
Loading…
Reference in New Issue
Block a user