mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 13:33:15 +00:00
Merge pull request #14117 from patrasar/pimv6_13893
pimd, pim6d: Don't set SRC_STREAM flag on LHR
This commit is contained in:
commit
031d4586f0
@ -1965,6 +1965,7 @@ static bool pim_upstream_kat_start_ok(struct pim_upstream *up)
|
|||||||
struct channel_oil *c_oil = up->channel_oil;
|
struct channel_oil *c_oil = up->channel_oil;
|
||||||
struct interface *ifp = up->rpf.source_nexthop.interface;
|
struct interface *ifp = up->rpf.source_nexthop.interface;
|
||||||
struct pim_interface *pim_ifp;
|
struct pim_interface *pim_ifp;
|
||||||
|
struct pim_instance *pim = up->channel_oil->pim;
|
||||||
|
|
||||||
/* "iif == RPF_interface(S)" check is not easy to do as the info
|
/* "iif == RPF_interface(S)" check is not easy to do as the info
|
||||||
* we get from the kernel/ASIC is really a "lookup/key hit".
|
* we get from the kernel/ASIC is really a "lookup/key hit".
|
||||||
@ -1984,8 +1985,9 @@ static bool pim_upstream_kat_start_ok(struct pim_upstream *up)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((up->join_state == PIM_UPSTREAM_JOINED)
|
if ((up->join_state == PIM_UPSTREAM_JOINED)
|
||||||
&& !pim_upstream_empty_inherited_olist(up)) {
|
&& !pim_upstream_empty_inherited_olist(up)) {
|
||||||
return true;
|
if (I_am_RP(pim, up->sg.grp))
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user