Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldpd: fix wrong gtsm count (backport #16226) #16336

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

mergify[bot]
Copy link

@mergify mergify bot commented Jul 2, 2024

In linux networking stack, the received mpls packets will be processed by the host twice, one as mpls packet, the other as ip packet, so its ttl decreased 1.

So, we need release the IP_MINTTL value if gtsm is enabled, it is for the mpls packets of neighbor session caused by the command: label local advertise explicit-null.

This change makes the gtsm mechanism a bit deviation.

Fix #8313


This is an automatic backport of pull request #16226 done by Mergify.

In linux networking stack, the received mpls packets will be processed
by the host *twice*, one as mpls packet, the other as ip packet, so
its ttl decreased 1.

So, we need release the `IP_MINTTL` value if gtsm is enabled, it is for the
mpls packets of neighbor session caused by the command:
`label local advertise explicit-null`.

This change makes the gtsm mechanism a bit deviation.

Fix PR #8313

Signed-off-by: anlan_cs <[email protected]>
(cherry picked from commit 1919df3)
@mergify mergify bot mentioned this pull request Jul 2, 2024
@ton31337 ton31337 merged commit 0309f22 into stable/10.0 Jul 3, 2024
14 checks passed
@ton31337 ton31337 deleted the mergify/bp/stable/10.0/pr-16226 branch July 3, 2024 09:57
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.

2 participants