aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch/actions.c
diff options
context:
space:
mode:
authorMartin Varghese <martin.varghese@nokia.com>2019-11-04 07:27:44 +0530
committerDavid S. Miller <davem@davemloft.net>2019-11-05 18:02:29 -0800
commitfbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 (patch)
tree34340f85a9ca49095a4e88127c056d40066c2cbd /net/openvswitch/actions.c
parentnet: hns3: remove unused macros (diff)
downloadlinux-dev-fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3.tar.xz
linux-dev-fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3.zip
Change in Openvswitch to support MPLS label depth of 3 in ingress direction
The openvswitch was supporting a MPLS label depth of 1 in the ingress direction though the userspace OVS supports a max depth of 3 labels. This change enables openvswitch module to support a max depth of 3 labels in the ingress. Signed-off-by: Martin Varghese <martin.varghese@nokia.com> Acked-by: Pravin B Shelar <pshelar@ovn.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/actions.c')
-rw-r--r--net/openvswitch/actions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/openvswitch/actions.c b/net/openvswitch/actions.c
index 1c77f520f474..12936c151cc0 100644
--- a/net/openvswitch/actions.c
+++ b/net/openvswitch/actions.c
@@ -200,7 +200,7 @@ static int set_mpls(struct sk_buff *skb, struct sw_flow_key *flow_key,
if (err)
return err;
- flow_key->mpls.top_lse = lse;
+ flow_key->mpls.lse[0] = lse;
return 0;
}