git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ofproto-dpif: Check for MPLS depth at the flow.
[sliver-openvswitch.git]
/
ofproto
/
ofproto-dpif-xlate.c
diff --git
a/ofproto/ofproto-dpif-xlate.c
b/ofproto/ofproto-dpif-xlate.c
index
e4b1fd3
..
9682158
100644
(file)
--- a/
ofproto/ofproto-dpif-xlate.c
+++ b/
ofproto/ofproto-dpif-xlate.c
@@
-1116,7
+1116,7
@@
execute_mpls_push_action(struct xlate_ctx *ctx, ovs_be16 eth_type)
memset(&ctx->xout->wc.masks.mpls_depth, 0xff,
sizeof ctx->xout->wc.masks.mpls_depth);
- if (ctx->
base_
flow.mpls_depth) {
+ if (ctx->
xin->
flow.mpls_depth) {
ctx->xin->flow.mpls_lse &= ~htonl(MPLS_BOS_MASK);
ctx->xin->flow.mpls_depth++;
} else {