[ovs-dev] [PATCH v4 4/7] Support encoding of NTR selection method

Ben Pfaff blp at nicira.com
Tue Mar 24 16:22:07 UTC 2015


On Fri, Mar 20, 2015 at 01:50:31PM +0900, Simon Horman wrote:
> Include NTR selection method experimenter group property in
> in group mod request and group desc reply.
> 
> NTR selection method
> Signed-off-by: Simon Horman <simon.horman at netronome.com>

I'm going to fold this in:

diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 8204516..a36a1f8 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -5827,7 +5827,7 @@ append_group_desc(struct ofgroup *group, struct ovs_list *replies)
 
     gds.group_id = group->group_id;
     gds.type = group->type;
-    memcpy(&gds.props, &group->props, sizeof gds.props);
+    gds.props = group->props;
 
     ofputil_append_group_desc_reply(&gds, &group->buckets, replies);
 }



More information about the dev mailing list