Do not decrement TTL while doing L3 forward to agent pkt0
In BGPaaS in pkt mode, the pkt will be L3 routed with the NH
pointing to pkt0 or GW interface at one stage (before NAT).
In single hop BGPaaS case, since the TTL is decremented in
vr_forward() during L3 routing, the pkt is dropped later
since the TTL becomes 0. This leads to BGP session not
coming up at all.
Change-Id: I68d482a903de9067464d75fe269d74f9d2beaf67
Closes-Bug: #1737963
closes-jira-bug:#JCB-199874
(cherry picked from commit 3e7d1ff921c124c6b8f5cb4a1068f5050f0c624b)
Reviewed: https:/ /review. opencontrail. org/49009 github. com/Juniper/ contrail- vrouter/ commit/ 1e48ed01c8db341 47f851e4e86c32d 884a5a9b9f
Committed: http://
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0
commit 1e48ed01c8db341 47f851e4e86c32d 884a5a9b9f
Author: Anand Narayanan Rao <email address hidden>
Date: Mon Jan 28 13:09:28 2019 +0530
Do not decrement TTL while doing L3 forward to agent pkt0
In BGPaaS in pkt mode, the pkt will be L3 routed with the NH
pointing to pkt0 or GW interface at one stage (before NAT).
In single hop BGPaaS case, since the TTL is decremented in
vr_forward() during L3 routing, the pkt is dropped later
since the TTL becomes 0. This leads to BGP session not
coming up at all.
Change-Id: I68d482a903de90 67464d75fe269d7 4f9d2beaf67 jira-bug: #JCB-199874 6b8f5cb4a1068f5 050f0c624b)
Closes-Bug: #1737963
closes-
(cherry picked from commit 3e7d1ff921c124c