summaryrefslogtreecommitdiff
path: root/tests/test-classifier.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-10-11 13:31:35 -0700
committerBen Pfaff <blp@nicira.com>2010-10-11 13:31:35 -0700
commit14608a1539b73f8f9812e0e791adb60825fee38b (patch)
tree0d4e39263ccd518d22c19bf3bd56431ac503fe3d /tests/test-classifier.c
parentf1588b1fa1be46231ee079358e428dae74ff09cc (diff)
downloadopenvswitch-14608a1539b73f8f9812e0e791adb60825fee38b.tar.gz
flow: Separate "flow_t" from "struct odp_flow_key".
The "struct odp_flow_key" used in the kernel datapath is conceptually separate from the "flow_t" used in userspace, but until now we have used the latter as a typedef for the former for convenience. This commit separates them. This makes it possible in upcoming commits to change them independently. This is cross-ported from the "wdp" branch, which has had it for months.
Diffstat (limited to 'tests/test-classifier.c')
-rw-r--r--tests/test-classifier.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test-classifier.c b/tests/test-classifier.c
index 4227c1822..e471582b5 100644
--- a/tests/test-classifier.c
+++ b/tests/test-classifier.c
@@ -380,7 +380,6 @@ compare_classifiers(struct classifier *cls, struct tcls *tcls)
ETH_ADDR_LEN);
flow.nw_proto = nw_proto_values[get_value(&x, N_NW_PROTO_VALUES)];
flow.nw_tos = nw_tos_values[get_value(&x, N_NW_TOS_VALUES)];
- memset(flow.reserved, 0, sizeof flow.reserved);
for (include = 1; include <= 3; include++) {
cr0 = lookup_with_include_bits(cls, &flow, include);