]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: update the mpls entry to handle return traffic
authorPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 11 May 2023 13:42:08 +0000 (15:42 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 16 Jun 2023 08:54:58 +0000 (10:54 +0200)
commit27f4deed0ac168344103459335b8e64c6820d9a6
tree5f8b99083d477271539136b56ff9f547d7bec1cd
parent98c615f05a0965d916964e389fde24c4237e0296
bgpd: update the mpls entry to handle return traffic

When advertising an mpls vpn entry with a new label,
the return traffic is redirected to the local machine,
but the MPLS traffic is dropped.

Add an MPLS entry to handle MPLS packets which have
the new label value. Traffic is swapped to the original
label value from the mpls vpn next-hop entry; then it is
sent to the resolved next-hop of the original next-hop
from the mpls vpn next-hop entry.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
bgpd/bgp_labelpool.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_mplsvpn.h
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h