FRRouting / frr

The FRRouting Protocol Suite
https://frrouting.org/
Other
3.12k stars 1.2k forks source link

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

Closed mergify[bot] closed 4 days ago

mergify[bot] commented 5 days ago

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.