From c31abb566dabe942ab2b530409dc807936839b63 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 11 Oct 2010 14:05:37 -0700 Subject: [PATCH] datapath: Fix build break in compat_query_flows(). Commit a01ef04ce "datapath: Drop padding from struct odp_flow_key" removed the "reserved" member from struct odp_flow_key but overlooked uses of that member from 64-bit compatibility code. This commit fixes up the problem. Signed-off-by: Ben Pfaff Acked-by: Jesse Gross --- datapath/datapath.c | 1 - 1 file changed, 1 deletion(-) diff --git a/datapath/datapath.c b/datapath/datapath.c index 6829ad0b..9eeb28cd 100644 --- a/datapath/datapath.c +++ b/datapath/datapath.c @@ -1827,7 +1827,6 @@ static int compat_query_flows(struct datapath *dp, struct compat_odp_flow *flows if (compat_get_flow(&uf, ufp)) return -EFAULT; - memset(uf.key.reserved, 0, sizeof uf.key.reserved); flow_node = tbl_lookup(table, &uf.key, flow_hash(&uf.key), flow_cmp); if (!flow_node) -- 2.30.2