diff options
author | Martin Varghese <martin.varghese@nokia.com> | 2019-11-04 02:57:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-06 03:02:29 +0100 |
commit | fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3 (patch) | |
tree | 34340f85a9ca49095a4e88127c056d40066c2cbd /net/openvswitch/actions.c | |
parent | net: hns3: remove unused macros (diff) | |
download | linux-fbdcdd78da7c95f1b970d371e1b23cbd3aa990f3.tar.xz linux-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.c | 2 |
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; } |