Skip to content

Send register in fhr lhr case#20575

Merged
Jafaral merged 2 commits intoFRRouting:masterfrom
donaldsharp:send_register_in_fhr_lhr_case
Jan 23, 2026
Merged

Send register in fhr lhr case#20575
Jafaral merged 2 commits intoFRRouting:masterfrom
donaldsharp:send_register_in_fhr_lhr_case

Conversation

@donaldsharp
Copy link
Member

@donaldsharp donaldsharp commented Jan 22, 2026

Currently if pim is both a FHR and a LHR for a S,G, it is possible that the actions of the LHR or other actions on the network can cause a S,G join to happen on the LHR prior to any S, G stream flowing. When this happens pimd was not correctly transitioning the S,G mroute to have a pimreg device to allow for proper registration of the S,G with the RP. This fixes this problem.

Fixes #18445

@Jafaral
Copy link
Member

Jafaral commented Jan 22, 2026

minor frrbot style suggestion

@Jafaral
Copy link
Member

Jafaral commented Jan 22, 2026

Is there any topotest we can update to capture this case?

@donaldsharp
Copy link
Member Author

The PR from @gromit1811 shows that this is fixed, but it needs both updating in several ways that I was not interested in tracking down/fixing, as that it lead down other rabbit holes. this problem is fixed though.

@Jafaral
Copy link
Member

Jafaral commented Jan 22, 2026

@Mergifyio backport stable/10.5 stable/10.4

@mergify
Copy link

mergify bot commented Jan 22, 2026

backport stable/10.5 stable/10.4

✅ Backports have been created

Details

@Jafaral Jafaral added this to the 10.6 milestone Jan 22, 2026
This function was modified to allow you to use v4/v6
but the last step to allow this to work under v6 was
never taken.  Let's rectify that.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
When a FHR is also a LHR, and the S,G upstream is
created before any multicast packets for the S,G
have flown, we need to be able to let the pim state
machine handle the registration towards the RP.

Modify the code to notice that packets are flowing on
the S,G stream and that we are a LHR.  This will
allow us to send register messages when this happens,
to allow other parts of the *,G tree participate if
needed.

Fixes: FRRouting#18445
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
@donaldsharp donaldsharp force-pushed the send_register_in_fhr_lhr_case branch from 5e57441 to f41e730 Compare January 22, 2026 20:54
@Jafaral Jafaral merged commit 5579470 into FRRouting:master Jan 23, 2026
19 checks passed
donaldsharp added a commit that referenced this pull request Jan 23, 2026
donaldsharp added a commit that referenced this pull request Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pimd/pim6d: Sometimes doesn't send PIM Register towards RP

2 participants