[ovs-dev] [DPDK Upcalls 03/11] flow: Parse MPLS should return the actual number of labels.
Ethan Jackson
ethan at nicira.com
Sat Aug 2 01:39:14 UTC 2014
This problem is uncovered by a future patch.
Signed-off-by: Ethan Jackson <ethan at nicira.com>
---
lib/flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/flow.c b/lib/flow.c
index 5e04015..cfd90d6 100644
--- a/lib/flow.c
+++ b/lib/flow.c
@@ -210,7 +210,7 @@ parse_mpls(void **datap, size_t *sizep)
break;
}
}
- return MAX(count, FLOW_MAX_MPLS_LABELS);
+ return count;
}
static inline ovs_be16
--
1.8.1.2
More information about the dev
mailing list