diff options
author | Martin Varghese <martin.varghese@nokia.com> | 2022-01-20 09:36:49 +0530 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2022-01-31 21:27:06 +0100 |
commit | 712202ff7d023c573e9435d83b95eeb1a8fe8a88 (patch) | |
tree | c4e2064b7b5df1646a14fd17308e9c0302aa5593 /ofproto/ofproto-dpif-xlate.c | |
parent | 3ae3e86059c06804e1b24069eac3521b0391af17 (diff) | |
download | openvswitch-712202ff7d023c573e9435d83b95eeb1a8fe8a88.tar.gz |
ofproto-dpif-xlate: Fix packet drops with decap action on MPLS Multicast.
Added PT_MPLS_MC support in function xlate_generic_decap_action to fix
packet drops when decap action is applied on packets with packet_type
(ns=1,type=0x8848).
Fixes: 1917ace89364 ("Encap & Decap actions for MPLS packet type.")
Signed-off-by: Martin Varghese <martin.varghese@nokia.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif-xlate.c')
-rw-r--r-- | ofproto/ofproto-dpif-xlate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index 73ce24c04..121c4fe01 100644 --- a/ofproto/ofproto-dpif-xlate.c +++ b/ofproto/ofproto-dpif-xlate.c @@ -6709,7 +6709,8 @@ xlate_generic_decap_action(struct xlate_ctx *ctx, ctx->pending_decap = true; /* Trigger recirculation. */ return true; - case PT_MPLS: { + case PT_MPLS: + case PT_MPLS_MC: { int n; ovs_be16 ethertype; |