summaryrefslogtreecommitdiff
path: root/lib/flow.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 /lib/flow.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 'lib/flow.c')
-rw-r--r--lib/flow.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/flow.c b/lib/flow.c
index 462df08c2..f2f772702 100644
--- a/lib/flow.c
+++ b/lib/flow.c
@@ -304,8 +304,6 @@ flow_from_match(const struct ofp_match *match, bool tun_id_from_cookie,
memcpy(flow->dl_dst, match->dl_dst, ETH_ADDR_LEN);
flow->nw_tos = match->nw_tos;
flow->nw_proto = match->nw_proto;
- memset(flow->reserved, 0, sizeof flow->reserved);
-
if (flow_wildcards) {
*flow_wildcards = wildcards;
}