projects
/
cascardo
/
ovs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7b0cfd
)
flow: Parse MPLS should return the actual number of labels.
author
Ethan Jackson
<ethan@nicira.com>
Fri, 1 Aug 2014 21:47:44 +0000
(14:47 -0700)
committer
Ethan Jackson
<ethan@nicira.com>
Thu, 14 Aug 2014 20:42:47 +0000
(13:42 -0700)
This problem is uncovered by a future patch.
Signed-off-by: Ethan Jackson <ethan@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
lib/flow.c
patch
|
blob
|
history
diff --git
a/lib/flow.c
b/lib/flow.c
index
2e5ca0a
..
29b331e
100644
(file)
--- a/
lib/flow.c
+++ b/
lib/flow.c
@@
-210,7
+210,7
@@
parse_mpls(void **datap, size_t *sizep)
break;
}
}
- return M
AX
(count, FLOW_MAX_MPLS_LABELS);
+ return M
IN
(count, FLOW_MAX_MPLS_LABELS);
}
static inline ovs_be16