summaryrefslogtreecommitdiff
path: root/lib/odp-util.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-09-10 11:18:53 -0700
committerBen Pfaff <blp@nicira.com>2010-10-11 13:31:43 -0700
commita01ef04ced0d3e04e7d5e5038ef76c861b5c1da3 (patch)
tree510394c3f9be495795492a4b8ef0f27fd38032ad /lib/odp-util.c
parent26233bb4615608fd45d89a5abe2e62f4b3d776f7 (diff)
downloadopenvswitch-a01ef04ced0d3e04e7d5e5038ef76c861b5c1da3.tar.gz
datapath: Drop padding from struct odp_flow_key.
Breaking this out as a separate commit should make it easier to see what needs to change later, if we need to reintroduce padding at some point. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'lib/odp-util.c')
-rw-r--r--lib/odp-util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/odp-util.c b/lib/odp-util.c
index 16a40ded3..b497538d5 100644
--- a/lib/odp-util.c
+++ b/lib/odp-util.c
@@ -198,7 +198,6 @@ odp_flow_key_from_flow(struct odp_flow_key *key, const struct flow *flow)
memcpy(key->dl_dst, flow->dl_dst, ETH_ADDR_LEN);
key->nw_proto = flow->nw_proto;
key->nw_tos = flow->nw_tos;
- memset(key->reserved, 0, sizeof key->reserved);
}
void